mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-24 10:25:51 +03:00
Clean some files
This commit is contained in:
parent
5baaecaea4
commit
c7ce5c61b1
6 changed files with 4 additions and 16 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue