Skip to content
Snippets Groups Projects
Commit da9ba0e7 authored by Amirhossein Naghshzan's avatar Amirhossein Naghshzan Committed by Amirhossein Naghshzan
Browse files

notification: set history style for all notifications

Change-Id: I81b25fda6d281899e441859a0123fcaac038e0fe
parent b71c58f8
No related branches found
No related tags found
No related merge requests found
......@@ -428,9 +428,6 @@ class NotificationServiceImpl(
.build())
.addPerson(conversationPerson)
.setShortcutId(key)
if (texts.size == 1) {
messageNotificationBuilder.setStyle(null)
} else {
val account = mAccountService.getAccount(accountId)
val profile = if (account == null) null else VCardServiceImpl.loadProfile(mContext, account).blockingFirst()
val myPic = account?.let { getContactPicture(it) }
......@@ -456,7 +453,6 @@ class NotificationServiceImpl(
))
}
messageNotificationBuilder.setStyle(history)
}
val notificationId = getTextNotificationId(conversation.accountId, conversation.uri)
val replyId = notificationId + 1
val markAsReadId = notificationId + 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment