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:
Benoit Marty 2023-09-15 15:42:01 +02:00 committed by Benoit Marty
parent 60104822cd
commit 1c56d95eab
5 changed files with 44 additions and 31 deletions

View file

@ -21,5 +21,5 @@ import io.element.android.libraries.matrix.api.core.SessionId
interface NotificationDrawerManager {
fun clearMembershipNotificationForSession(sessionId: SessionId)
fun clearMembershipNotificationForRoom(sessionId: SessionId, roomId: RoomId)
fun clearMembershipNotificationForRoom(sessionId: SessionId, roomId: RoomId, doRender: Boolean)
}