cancelling existing notification intents to reset the room id extra

This commit is contained in:
Adam Brown 2022-04-25 23:19:53 +01:00
parent 77bdfb4cd3
commit f71f7e9099
1 changed files with 2 additions and 2 deletions

View File

@ -101,9 +101,9 @@ class NotificationFactory(
val openRoomIntent = PendingIntent.getActivity(
context,
55,
roomOverview.roomId.hashCode(),
MessengerActivity.newInstance(context, roomOverview.roomId),
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_IMMUTABLE
)
return NotificationDelegate.Room(