aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-09-12 22:49:22 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-09-12 22:49:22 +0200
commit869ee3d4381178f8ff20e3a1dcb07067b7b07845 (patch)
treefa42a51e5bf7bfdad99e34ba9f157eea7033eddf
parentd3dfecae8a95c464fceb1a29bd2aeb116a7917da (diff)
parente6e46651c9ffee9a48bf98f63871c4ef5c1d33c9 (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.java2
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);
}
}