Adding person in chat notification in case DND setting is set to allow chat notifications for favorite contacts
This commit is contained in:
parent
f125b54b40
commit
740a935525
1 changed files with 1 additions and 0 deletions
|
@ -839,6 +839,7 @@ class NotificationsManager(private val context: Context) {
|
|||
.build()
|
||||
|
||||
val notificationBuilder = NotificationCompat.Builder(context, context.getString(R.string.notification_channel_chat_id))
|
||||
.addPerson(lastPerson)
|
||||
.setSmallIcon(R.drawable.topbar_chat_notification)
|
||||
.setAutoCancel(true)
|
||||
.setLargeIcon(largeIcon)
|
||||
|
|
Loading…
Reference in a new issue