mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Do not render notification if the user has dismiss the notification.
It should not change anything, just avoid doing useless notification rendering.
This commit is contained in:
committed by
Benoit Marty
parent
60104822cd
commit
1c56d95eab
+1
-1
@@ -28,7 +28,7 @@ class FakeNotificationDrawerManager : NotificationDrawerManager {
|
||||
clearMemberShipNotificationForSessionCallsCount.merge(sessionId.value, 1) { oldValue, value -> oldValue + value }
|
||||
}
|
||||
|
||||
override fun clearMembershipNotificationForRoom(sessionId: SessionId, roomId: RoomId) {
|
||||
override fun clearMembershipNotificationForRoom(sessionId: SessionId, roomId: RoomId, doRender: Boolean) {
|
||||
val key = getMembershipNotificationKey(sessionId, roomId)
|
||||
clearMemberShipNotificationForRoomCallsCount.merge(key, 1) { oldValue, value -> oldValue + value }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user