Update threads on call event message deletes.
This commit is contained in:
parent
aaca487b8f
commit
eedf7d4280
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue