Set right timestamp for fallback notifications (#864)
This commit is contained in:
parent
4d898cc978
commit
494229d153
1 changed files with 1 additions and 0 deletions
|
|
@ -232,6 +232,7 @@ class NotificationFactory @Inject constructor(
|
|||
.setSmallIcon(smallIcon)
|
||||
.setColor(accentColor)
|
||||
.setAutoCancel(true)
|
||||
.setWhen(fallbackNotifiableEvent.timestamp)
|
||||
// Ideally we'd use `createOpenRoomPendingIntent` here, but the broken notification might apply to an invite
|
||||
// and the user won't have access to the room yet, resulting in an error screen.
|
||||
.setContentIntent(pendingIntentFactory.createOpenSessionPendingIntent(fallbackNotifiableEvent.sessionId))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue