mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-17 15:12:22 +01:00
This commit is contained in:
parent
fc09c5fa86
commit
b4cd31520d
1 changed files with 2 additions and 1 deletions
|
@ -638,7 +638,8 @@ public class NotificationService {
|
|||
} else {
|
||||
if (messages.get(0).getConversation().getMode() == Conversation.MODE_SINGLE) {
|
||||
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);
|
||||
builder.setNumber(messages.size());
|
||||
} else {
|
||||
final NotificationCompat.InboxStyle style = new NotificationCompat.InboxStyle();
|
||||
SpannableString styledString;
|
||||
|
|
Loading…
Reference in a new issue