mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Fix issue after rebase.
This commit is contained in:
+1
-1
@@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -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)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user