Show Encryption Authenticity warnings on messages in the timeline. (#3051)

* Initial implementation.

* Add developer option for showing timeline item authenticity.

* Refactor code to use new SendInfo.Status.

---------

Co-authored-by: Doug <douglase@element.io>
This commit is contained in:
Valere
2024-08-05 13:15:38 +02:00
committed by GitHub
parent cdaa88efcc
commit a11faeb131
29 changed files with 288 additions and 53 deletions
@@ -24,6 +24,8 @@ struct RoomTimelineItemProperties: Hashable {
var reactions: [AggregatedReaction] = []
/// The delivery status for this item. If a sent message is echoed the value is nil.
var deliveryStatus: TimelineItemDeliveryStatus?
/// The read receipts of the item, ordered from newest to oldest
/// The read receipts of the item, ordered from newest to oldest.
var orderedReadReceipts: [ReadReceipt] = []
/// Authenticity warnings for item's sent in encrypted rooms.
var encryptionAuthenticity: EncryptionAuthenticity?
}