mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 11:58:32 +00:00
Clear notifications for fully read rooms using the event's timestamp instead of delivery date
This commit is contained in:
@@ -17,6 +17,7 @@ struct NotificationItemProxyMockConfiguration {
|
||||
let messageLikeContent = MessageLikeEventContent.roomMessage(messageType: messageType, inReplyToEventId: nil)
|
||||
let event = TimelineEventSDKMock()
|
||||
event.eventIdReturnValue = UUID().uuidString
|
||||
event.timestampReturnValue = 0
|
||||
event.contentReturnValue = .messageLike(content: messageLikeContent)
|
||||
return .timeline(event: event)
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user