Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3585c3fc authored by moezbhatti's avatar moezbhatti
Browse files

#1490 - Fix DND starred contacts not working

parent cd5f4444
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -212,9 +212,9 @@ class NotificationManagerImpl @Inject constructor(

        // Add all of the people from this conversation to the notification, so that the system can
        // appropriately bypass DND mode
        conversation.recipients
                .mapNotNull { recipient -> recipient.contact?.lookupKey }
                .forEach { uri -> notification.addPerson(uri) }
        conversation.recipients.forEach { recipient ->
            notification.addPerson("tel:${recipient.address}")
        }

        // Add the action buttons
        val actionLabels = context.resources.getStringArray(R.array.notification_actions)