Fix 3.8 migration

This commit is contained in:
Moez Bhatti
2020-01-12 23:30:59 -05:00
parent c9de1a61d9
commit 287dd495f8
@@ -178,7 +178,7 @@ class QkRealmMigration @Inject constructor(
realm.where("Conversation").findAll().forEach { conversation ->
val pref = prefs.theme(conversation.getLong("id"))
if (pref.isSet) {
conversation.getList("Recipient").forEach { recipient ->
conversation.getList("recipients").forEach { recipient ->
recipients[recipient.getLong("id")] = pref.get()
}