Fix sync thread delete sending another sync back.

This commit is contained in:
Cody Henthorne
2024-06-27 13:52:53 -04:00
parent a96e5e6ae6
commit 24bba98122

View File

@@ -444,7 +444,7 @@ class ThreadTable(context: Context, databaseHelper: SignalDatabase) : DatabaseTa
if (deletes > 0) {
Log.i(TAG, "Trimming deleted $deletes messages thread: $threadId")
setLastScrolled(threadId, 0)
val threadDeleted = update(threadId, false)
val threadDeleted = update(threadId = threadId, unarchive = false, syncThreadDelete = syncThreadTrimDeletes)
notifyConversationListeners(threadId)
SignalDatabase.calls.updateCallEventDeletionTimestamps()