feat: Render declined calls in DM timeline (#5512)

* feat: Render declined calls in DM timeline

* Record preview snapshots

* review: Use CallIntent constant

* review: clean-up

* Record preview snapshots

* review: Move private field to the bottom with MARK: - Private

* review: Male CallIntent a string enum to use rawValue

---------

Co-authored-by: Element CI <ci@element.io>
This commit is contained in:
Valere Fedronic
2026-05-11 13:51:30 +02:00
committed by GitHub
parent 2b3cd27129
commit ba23153ab4
10 changed files with 154 additions and 52 deletions
@@ -14,7 +14,10 @@ struct CallNotificationRoomTimelineItem: RoomTimelineItemProtocol, Equatable {
let isEditable: Bool
let canBeRepliedTo: Bool
let sender: TimelineItemSender
let isDM: Bool
let isDeclinedByMe: Bool
let isDeclined: Bool
let isVoiceCall: Bool
var properties = RoomTimelineItemProperties()
}