Avoid message failed notification when bubble thread is visible.

This commit is contained in:
Sagar
2025-04-16 19:08:57 +05:30
committed by Cody Henthorne
parent 16b4b3b6b7
commit e3a402394f
5 changed files with 29 additions and 3 deletions

View File

@@ -677,6 +677,8 @@ class ConversationFragment :
if (!args.conversationScreenType.isInBubble) {
AppDependencies.messageNotifier.setVisibleThread(ConversationId.forConversation(args.threadId))
} else {
AppDependencies.messageNotifier.setVisibleBubbleThread(ConversationId.forConversation(args.threadId))
}
viewModel.updateIdentityRecordsInBackground()
@@ -707,6 +709,8 @@ class ConversationFragment :
if (!args.conversationScreenType.isInBubble) {
AppDependencies.messageNotifier.clearVisibleThread()
} else {
AppDependencies.messageNotifier.clearVisibleBubbleThread()
}
if (activity?.isFinishing == true) {