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

Commit f0baf3bd authored by moezbhatti's avatar moezbhatti
Browse files

setWhen for notifications

parent 9e418b4d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -135,6 +135,7 @@ class NotificationManagerImpl @Inject constructor(
                .setDeleteIntent(seenPI)
                .setSound(ringtone)
                .setLights(Color.WHITE, 500, 2000)
                .setWhen(conversation.lastMessage?.date ?: System.currentTimeMillis())
                .setVibrate(if (prefs.vibration(threadId).get()) VIBRATE_PATTERN else longArrayOf(0))

        // Tell the notification if it's a group message