Dismiss notifications for rooms fully read in other devices (#7846)

* Dismiss notifications for rooms fully read in other devices
This commit is contained in:
Jorge Martin Espinosa
2026-10-05 17:56:16 +02:00
committed by GitHub
parent 774b4087f5
commit b76548f9a2
7 changed files with 404 additions and 15 deletions
@@ -65,4 +65,11 @@ interface NotificationCleaner {
* @param roomId the room whose notifications are dismissed.
*/
fun clearMembershipNotificationForRoom(sessionId: SessionId, roomId: RoomId)
/**
* Dismisses the notifications of every read room.
*
* @param sessionId the session whose notifications should be dismissed.
*/
fun clearReadRoomsNotifications(sessionId: SessionId)
}