diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-09-12 22:49:22 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-09-12 22:49:22 +0200 |
commit | 869ee3d4381178f8ff20e3a1dcb07067b7b07845 (patch) | |
tree | fa42a51e5bf7bfdad99e34ba9f157eea7033eddf | |
parent | d3dfecae8a95c464fceb1a29bd2aeb116a7917da (diff) | |
parent | e6e46651c9ffee9a48bf98f63871c4ef5c1d33c9 (diff) |
Merge branch 'pebble-notification' of https://github.com/danielegobbetti/Conversations into danielegobbetti-pebble-notification
-rw-r--r-- | src/main/java/eu/siacs/conversations/services/NotificationService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index fe9215d4..7cfe2433 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -376,7 +376,7 @@ public class NotificationService { builder.setStyle(messagingStyle); } else { builder.setStyle(new NotificationCompat.BigTextStyle().bigText(getMergedBodies(messages))); - builder.setContentText(UIHelper.getMessagePreview(mXmppConnectionService, messages.get(0)).first); + builder.setContentText(UIHelper.getMessagePreview(mXmppConnectionService, messages.get((messages.size()-1))).first); } } |