mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Redacted events in timeline (#199)
* Add redacted timeline item and view * Use isOwn and isRedacted properties from sdk * Build redacted items in factory * Include redacted events in timeline * Add changelog * Fix unit tests
This commit is contained in:
@@ -146,7 +146,7 @@ class RoomTimelineController: RoomTimelineControllerProtocol {
|
||||
|
||||
switch item {
|
||||
case .event(let eventItem):
|
||||
guard eventItem.isMessage else { break } // To be handled in the future
|
||||
guard eventItem.isMessage || eventItem.isRedacted else { break } // To be handled in the future
|
||||
|
||||
newTimelineItems.append(await timelineItemFactory.buildTimelineItemFor(eventItem: eventItem,
|
||||
showSenderDetails: inGroupState.shouldShowSenderDetails,
|
||||
|
||||
Reference in New Issue
Block a user