Refresh the whole notifs when cleaning one so the summary get updated

Fix summary notification staying after "mark as read"
This commit is contained in:
Mathieu Velten 2020-03-13 23:30:16 +01:00
parent 3c9c2e61d7
commit 687884431e
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@ Improvements 🙌:
Bugfix 🐛:
- Message transitions in encrypted rooms are jarring #518
- Fix summary notification staying after "mark as read"
Translations 🗣:
-

View file

@ -157,7 +157,7 @@ class NotificationDrawerManager @Inject constructor(private val context: Context
e is NotifiableMessageEvent && e.roomId == roomId
}
}
notificationUtils.cancelNotificationMessage(roomId, ROOM_MESSAGES_NOTIFICATION_ID)
refreshNotificationDrawer()
}
}