Fix conversation list not updating when disappearing message expires

When a disappearing message expired while the user was on the chat list,
the message preview would persist until the user navigated into that
conversation or restarted the app.

The issue was that deleteMessage() only called notifyConversationListeners(threadId)
which notifies observers watching a specific thread, but not
notifyConversationListListeners() which notifies the conversation list UI.
Other similar operations (like bulk deletes at line 3639) correctly call both.
This commit is contained in:
Greyson Parrelli
2026-01-10 09:09:57 -05:00
committed by Michelle Tang
parent 623d2f2659
commit c727f93534

View File

@@ -3699,6 +3699,10 @@ open class MessageTable(context: Context?, databaseHelper: SignalDatabase) : Dat
notifyStickerListeners()
notifyStickerPackListeners()
OptimizeMessageSearchIndexJob.enqueue()
if (updateThread) {
notifyConversationListListeners()
}
}
return threadDeleted