mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Do not show a notification for a conversation we are in
This commit is contained in:
@@ -122,6 +122,7 @@ public class ConversationActivity extends BriarActivity
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
eventBus.addListener(this);
|
||||
notificationManager.blockPrivateMessageNotification(contactId);
|
||||
loadContactAndGroup();
|
||||
loadHeaders();
|
||||
|
||||
@@ -133,6 +134,7 @@ public class ConversationActivity extends BriarActivity
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
eventBus.removeListener(this);
|
||||
notificationManager.unblockPrivateMessageNotification(contactId);
|
||||
if (isFinishing()) markMessagesRead();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user