Fix issue after rebase.

This commit is contained in:
Benoit Marty
2025-10-31 09:42:22 +01:00
parent 231077d94b
commit af2429d8ed
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)))