cancelling existing notification intents to reset the room id extra
This commit is contained in:
parent
77bdfb4cd3
commit
f71f7e9099
|
@ -101,9 +101,9 @@ class NotificationFactory(
|
||||||
|
|
||||||
val openRoomIntent = PendingIntent.getActivity(
|
val openRoomIntent = PendingIntent.getActivity(
|
||||||
context,
|
context,
|
||||||
55,
|
roomOverview.roomId.hashCode(),
|
||||||
MessengerActivity.newInstance(context, roomOverview.roomId),
|
MessengerActivity.newInstance(context, roomOverview.roomId),
|
||||||
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE
|
PendingIntent.FLAG_CANCEL_CURRENT or PendingIntent.FLAG_IMMUTABLE
|
||||||
)
|
)
|
||||||
|
|
||||||
return NotificationDelegate.Room(
|
return NotificationDelegate.Room(
|
||||||
|
|
Loading…
Reference in New Issue