Clean some files

This commit is contained in:
ganfra 2018-10-11 17:35:15 +02:00
parent 5baaecaea4
commit c7ce5c61b1
6 changed files with 4 additions and 16 deletions

View File

@ -1,9 +1,7 @@
package im.vector.matrix.android.api.events

import com.google.gson.JsonObject
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import im.vector.matrix.android.internal.legacy.util.JsonUtils

@JsonClass(generateAdapter = true)
data class Event(
@ -16,14 +14,6 @@ data class Event(
@Json(name = "state_key") val stateKey: String? = null,
@Json(name = "room_id") val roomId: String? = null,
@Json(name = "unsigned_data") val unsignedData: UnsignedData? = null
){

fun contentAsJsonObject(): JsonObject? {
return JsonUtils.toJson(content)
}



}
)



View File

@ -2,7 +2,6 @@ package im.vector.matrix.android.internal.auth

import android.content.Context
import im.vector.matrix.android.api.auth.Authenticator
import im.vector.matrix.android.api.auth.SessionParamsStore
import im.vector.matrix.android.internal.auth.db.ObjectBoxSessionParams
import im.vector.matrix.android.internal.auth.db.ObjectBoxSessionParamsMapper
import im.vector.matrix.android.internal.auth.db.ObjectBoxSessionParamsStore

View File

@ -4,7 +4,6 @@ import arrow.core.leftIfNull
import com.squareup.moshi.Moshi
import im.vector.matrix.android.api.MatrixCallback
import im.vector.matrix.android.api.auth.Authenticator
import im.vector.matrix.android.api.auth.SessionParamsStore
import im.vector.matrix.android.api.auth.data.HomeServerConnectionConfig
import im.vector.matrix.android.api.failure.Failure
import im.vector.matrix.android.api.session.Session

View File

@ -1,4 +1,4 @@
package im.vector.matrix.android.api.auth
package im.vector.matrix.android.internal.auth

import im.vector.matrix.android.internal.auth.data.SessionParams

View File

@ -1,6 +1,6 @@
package im.vector.matrix.android.internal.auth.db

import im.vector.matrix.android.api.auth.SessionParamsStore
import im.vector.matrix.android.internal.auth.SessionParamsStore
import im.vector.matrix.android.internal.auth.data.SessionParams
import io.objectbox.Box


View File

@ -1,6 +1,6 @@
package im.vector.matrix.android.internal.network

import im.vector.matrix.android.api.auth.SessionParamsStore
import im.vector.matrix.android.internal.auth.SessionParamsStore
import okhttp3.Interceptor
import okhttp3.Response