mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 02:08:40 +00:00
committed by
Clark Chen
parent
1b9cf631be
commit
820a5bc363
@@ -66,7 +66,9 @@ object V166_ThreadAndMessageForeignKeys : SignalDatabaseMigration {
|
||||
Log.w(TAG, "There were $count threads for RecipientId::$recipientId. Merging.", true)
|
||||
|
||||
val threads: List<ThreadInfo> = getThreadsByRecipientId(db, cursor.requireLong("thread_recipient_id"))
|
||||
mergeThreads(db, threads)
|
||||
if (threads.size > 1) {
|
||||
mergeThreads(db, threads)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user