mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-27 22:55:08 +01:00
Update when for notifications
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
9cb72de8e8
commit
c5df8250de
@ -288,7 +288,8 @@ public class NotificationWorker extends Worker {
|
||||
.setCategory(category)
|
||||
.setPriority(priority)
|
||||
.setSubText(baseUrl)
|
||||
.setWhen(decryptedPushMessage.getTimestamp())
|
||||
.setWhen(decryptedPushMessage.getTimestamp() != 0 ?
|
||||
decryptedPushMessage.getTimestamp() : System.currentTimeMillis())
|
||||
.setShowWhen(true)
|
||||
.setContentTitle(decryptedPushMessage.getSubject())
|
||||
.setContentIntent(pendingIntent)
|
||||
|
Loading…
Reference in New Issue
Block a user