diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-09-03 12:36:54 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-09-03 12:36:54 +0200 |
commit | 1a09a4706b7cc53225abd5c6124f3da2f784ad61 (patch) | |
tree | bb48f68460379c2d73ccce5bdd78b059b3a48358 /src/eu/siacs/conversations/parser | |
parent | 1f378bffc80c73d23cb62106c912043504ce7fca (diff) |
added ability to disable notifications for specific conversations - fixed #322
Diffstat (limited to 'src/eu/siacs/conversations/parser')
-rw-r--r-- | src/eu/siacs/conversations/parser/MessageParser.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/parser/MessageParser.java b/src/eu/siacs/conversations/parser/MessageParser.java index 3dca636e..10859345 100644 --- a/src/eu/siacs/conversations/parser/MessageParser.java +++ b/src/eu/siacs/conversations/parser/MessageParser.java @@ -435,6 +435,7 @@ public class MessageParser extends AbstractParser implements if (packet.getType() != MessagePacket.TYPE_ERROR) { mXmppConnectionService.databaseBackend.createMessage(message); } + notify = notify && !conversation.isMuted(); mXmppConnectionService.notifyUi(conversation, notify); } |