mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 13:49:53 +01:00
Do not show notification for local group messages
This commit is contained in:
@@ -246,7 +246,7 @@ class AndroidNotificationManagerImpl implements AndroidNotificationManager,
|
|||||||
showContactNotification(p.getContactId());
|
showContactNotification(p.getContactId());
|
||||||
} else if (e instanceof GroupMessageAddedEvent) {
|
} else if (e instanceof GroupMessageAddedEvent) {
|
||||||
GroupMessageAddedEvent g = (GroupMessageAddedEvent) e;
|
GroupMessageAddedEvent g = (GroupMessageAddedEvent) e;
|
||||||
showGroupMessageNotification(g.getGroupId());
|
if (!g.isLocal()) showGroupMessageNotification(g.getGroupId());
|
||||||
} else if (e instanceof ForumPostReceivedEvent) {
|
} else if (e instanceof ForumPostReceivedEvent) {
|
||||||
ForumPostReceivedEvent f = (ForumPostReceivedEvent) e;
|
ForumPostReceivedEvent f = (ForumPostReceivedEvent) e;
|
||||||
showForumPostNotification(f.getGroupId());
|
showForumPostNotification(f.getGroupId());
|
||||||
|
|||||||
Reference in New Issue
Block a user