forked from upstream-mirrors/quik
Fix 3.8 migration
This commit is contained in:
@@ -178,7 +178,7 @@ class QkRealmMigration @Inject constructor(
|
|||||||
realm.where("Conversation").findAll().forEach { conversation ->
|
realm.where("Conversation").findAll().forEach { conversation ->
|
||||||
val pref = prefs.theme(conversation.getLong("id"))
|
val pref = prefs.theme(conversation.getLong("id"))
|
||||||
if (pref.isSet) {
|
if (pref.isSet) {
|
||||||
conversation.getList("Recipient").forEach { recipient ->
|
conversation.getList("recipients").forEach { recipient ->
|
||||||
recipients[recipient.getLong("id")] = pref.get()
|
recipients[recipient.getLong("id")] = pref.get()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user