mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 02:10:44 +01:00
Avoid message failed notification when bubble thread is visible.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user