aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2016-02-09 22:08:43 +0100
committersteckbrief <steckbrief@chefmail.de>2016-02-09 22:08:43 +0100
commit72114d732427266024cdd6e27cd8d1aa60afae2f (patch)
tree3e8243bbe950e64823f06b5b7078f3c6829fd992 /src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java
parent899a39cbf74dcd35f2a62e1fd6499de4ba6193fd (diff)
Fixes FS#135: condition NOT message.isRead() added to check if notification should be shown for a message
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java b/src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java
index f3ef271c..b02b4d82 100644
--- a/src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java
+++ b/src/main/java/de/thedevstack/conversationsplus/services/NotificationService.java
@@ -126,10 +126,10 @@ public class NotificationService {
}
public void push(final Message message) {
- mXmppConnectionService.updateUnreadCountBadge();
if (!notify(message)) {
return;
}
+ mXmppConnectionService.updateUnreadCountBadge();
final boolean isScreenOn = isInteractive();