mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-11 09:23:50 +01:00
Use Any instead of JsonDict so users won't loose ignored users
This commit is contained in:
parent
fb247f8bea
commit
e5596f6a97
@ -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 New Issue
Block a user