Clear notification for a room left on another client

This commit is contained in:
Benoit Marty
2019-07-19 16:44:30 +02:00
parent 1a4ec34bb2
commit 6d01a570fd
5 changed files with 21 additions and 3 deletions

View File

@ -56,6 +56,10 @@ class PushRuleTriggerListener @Inject constructor(
}
}
override fun onRoomLeft(roomId: String) {
notificationDrawerManager.clearMessageEventOfRoom(roomId)
}
override fun batchFinish() {
notificationDrawerManager.refreshNotificationDrawer()
}