aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-02-13 21:08:28 +0100
committersteckbrief <steckbrief@chefmail.de>2016-02-13 21:08:28 +0100
commitd2cafe58fa251d59da6b07fe7bc5682f70ec079c (patch)
tree8a75c692c5c057a056f4c3db2398c777db3d8f00
parent6a2c1a0dd55e69996926b0ed0624fedf94068167 (diff)
Fixes FS#135: condition NOT message.isRead() added to check if notification should be shown for a message
-rw-r--r--src/main/java/eu/siacs/conversations/parser/MessageParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/parser/MessageParser.java b/src/main/java/eu/siacs/conversations/parser/MessageParser.java
index e7dabd09..e8b96ccc 100644
--- a/src/main/java/eu/siacs/conversations/parser/MessageParser.java
+++ b/src/main/java/eu/siacs/conversations/parser/MessageParser.java
@@ -455,7 +455,7 @@ public class MessageParser extends AbstractParser implements
&& ConversationsPlusPreferences.autoDownloadFileLink()
&& mXmppConnectionService.isDownloadAllowedInConnection()) {
manager.createNewDownloadConnection(message);
- } else if (!message.isRead()) {
+ } else {
if (query == null) {
mXmppConnectionService.getNotificationService().push(message);
} else if (query.getWith() == null) { // mam catchup