mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-22 21:58:53 +01:00
setWhen for notifications
This commit is contained in:
@@ -135,6 +135,7 @@ class NotificationManagerImpl @Inject constructor(
|
|||||||
.setDeleteIntent(seenPI)
|
.setDeleteIntent(seenPI)
|
||||||
.setSound(ringtone)
|
.setSound(ringtone)
|
||||||
.setLights(Color.WHITE, 500, 2000)
|
.setLights(Color.WHITE, 500, 2000)
|
||||||
|
.setWhen(conversation.lastMessage?.date ?: System.currentTimeMillis())
|
||||||
.setVibrate(if (prefs.vibration(threadId).get()) VIBRATE_PATTERN else longArrayOf(0))
|
.setVibrate(if (prefs.vibration(threadId).get()) VIBRATE_PATTERN else longArrayOf(0))
|
||||||
|
|
||||||
// Tell the notification if it's a group message
|
// Tell the notification if it's a group message
|
||||||
|
|||||||
Reference in New Issue
Block a user