mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Protected against crash with unread counter that exceeds thread size.
This commit is contained in:
@@ -3285,6 +3285,7 @@ open class MessageTable(context: Context?, databaseHelper: SignalDatabase) : Dat
|
||||
}
|
||||
|
||||
threadIds.forEach {
|
||||
threads.updateReadState(it)
|
||||
threads.update(
|
||||
threadId = it,
|
||||
unarchive = false,
|
||||
|
||||
Reference in New Issue
Block a user