mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Update threads on call event message deletes.
This commit is contained in:
@@ -3231,6 +3231,14 @@ open class MessageTable(context: Context?, databaseHelper: SignalDatabase) : Dat
|
||||
}.flatten().toSet()
|
||||
}
|
||||
|
||||
threadIds.forEach {
|
||||
threads.update(
|
||||
threadId = it,
|
||||
unarchive = false,
|
||||
allowDeletion = true
|
||||
)
|
||||
}
|
||||
|
||||
notifyConversationListeners(threadIds)
|
||||
notifyConversationListListeners()
|
||||
return rowsDeleted
|
||||
|
||||
Reference in New Issue
Block a user