This commit is contained in:
parent
fc09c5fa86
commit
b4cd31520d
|
@ -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 New Issue