aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-06-29 10:38:39 +0200
committerChristian Schneppe <christian@pix-art.de>2016-06-29 10:38:39 +0200
commitbbc9ba78933cde7bd51508ba1ae4850504cdd637 (patch)
tree1ca5803b0735d0ce3c935daed4cff54bb3ff65a6
parent71e7f822d5f772ba7380bbc468bde65d716720a0 (diff)
add count to notifications
-rw-r--r--src/main/java/eu/siacs/conversations/services/NotificationService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java
index 9e6f12dbc..d6787301a 100644
--- a/src/main/java/eu/siacs/conversations/services/NotificationService.java
+++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java
@@ -197,6 +197,7 @@ public class NotificationService {
} else {
mBuilder = buildMultipleConversation();
}
+ mBuilder.setNumber(mXmppConnectionService.unreadCount());
if (notify && !isQuietHours()) {
if (vibrate) {
final int dat = 70;