aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/parser
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-09-03 12:36:54 +0200
committeriNPUTmice <daniel@gultsch.de>2014-09-03 12:36:54 +0200
commit1a09a4706b7cc53225abd5c6124f3da2f784ad61 (patch)
treebb48f68460379c2d73ccce5bdd78b059b3a48358 /src/eu/siacs/conversations/parser
parent1f378bffc80c73d23cb62106c912043504ce7fca (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.java1
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);
}