Update threads on call event message deletes.

This commit is contained in:
Alex Hart 2023-04-25 14:49:49 -03:00 committed by GitHub
parent aaca487b8f
commit eedf7d4280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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