Fix issue after rebase.
This commit is contained in:
parent
231077d94b
commit
af2429d8ed
2 changed files with 2 additions and 2 deletions
|
|
@ -141,7 +141,7 @@ class DefaultNotificationDrawerManager(
|
||||||
*/
|
*/
|
||||||
override fun clearMessagesForThread(sessionId: SessionId, roomId: RoomId, threadId: ThreadId) {
|
override fun clearMessagesForThread(sessionId: SessionId, roomId: RoomId, threadId: ThreadId) {
|
||||||
val tag = NotificationCreator.messageTag(roomId, threadId)
|
val tag = NotificationCreator.messageTag(roomId, threadId)
|
||||||
notificationManager.cancel(tag, NotificationIdProvider.getRoomMessagesNotificationId(sessionId))
|
notificationDisplayer.cancelNotification(tag, NotificationIdProvider.getRoomMessagesNotificationId(sessionId))
|
||||||
clearSummaryNotificationIfNeeded(sessionId)
|
clearSummaryNotificationIfNeeded(sessionId)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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)))
|
sut.onRedactedEventsReceived(listOf(ResolvedPushEvent.Redaction(A_SESSION_ID, A_ROOM_ID, AN_EVENT_ID, null)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue