mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 09:25:49 +03:00
Use Any instead of JsonDict so users won't loose ignored users
This commit is contained in:
parent
fb247f8bea
commit
e5596f6a97
1 changed files with 1 additions and 2 deletions
|
@ -18,7 +18,6 @@ package im.vector.matrix.android.internal.session.sync.model.accountdata
|
|||
|
||||
import com.squareup.moshi.Json
|
||||
import com.squareup.moshi.JsonClass
|
||||
import im.vector.matrix.android.api.util.JsonDict
|
||||
import im.vector.matrix.android.api.util.emptyJsonDict
|
||||
|
||||
@JsonClass(generateAdapter = true)
|
||||
|
@ -26,7 +25,7 @@ internal data class IgnoredUsersContent(
|
|||
/**
|
||||
* Required. The map of users to ignore. UserId -> empty object for future enhancement
|
||||
*/
|
||||
@Json(name = "ignored_users") val ignoredUsers: Map<String, JsonDict>
|
||||
@Json(name = "ignored_users") val ignoredUsers: Map<String, Any>
|
||||
) {
|
||||
|
||||
companion object {
|
||||
|
|
Loading…
Reference in a new issue