Fix issue after rebase.

This commit is contained in:
Benoit Marty 2025-10-31 09:42:22 +01:00
parent 2b98a26694
commit 6cbb679375
2 changed files with 2 additions and 2 deletions

View file

@ -141,7 +141,7 @@ class DefaultNotificationDrawerManager(
*/
override fun clearMessagesForThread(sessionId: SessionId, roomId: RoomId, threadId: ThreadId) {
val tag = NotificationCreator.messageTag(roomId, threadId)
notificationManager.cancel(tag, NotificationIdProvider.getRoomMessagesNotificationId(sessionId))
notificationDisplayer.cancelNotification(tag, NotificationIdProvider.getRoomMessagesNotificationId(sessionId))
clearSummaryNotificationIfNeeded(sessionId)
}

View file

@ -122,7 +122,7 @@ class DefaultOnRedactedEventReceivedTest {
}
)
},
displayer = FakeNotificationDisplayer(showNotificationMessageResult = showNotificationLambda),
displayer = FakeNotificationDisplayer(showNotificationResult = showNotificationLambda),
)
sut.onRedactedEventsReceived(listOf(ResolvedPushEvent.Redaction(A_SESSION_ID, A_ROOM_ID, AN_EVENT_ID, null)))