mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Handle API changes from Rust. (#506)
There are some bad assumptions about profile changes in here. * Remove assumption FIXME's Profile changes that come from other members will be state event of None. * Bump SDK version.
This commit is contained in:
@@ -30,12 +30,7 @@ struct MessageTimelineItem<Content: MessageContentProtocol> {
|
||||
let content: Content
|
||||
|
||||
var id: String {
|
||||
switch item.key() {
|
||||
case .transactionId(let txnID):
|
||||
return txnID
|
||||
case .eventId(let eventID):
|
||||
return eventID
|
||||
}
|
||||
item.uniqueIdentifier()
|
||||
}
|
||||
|
||||
var body: String {
|
||||
|
||||
+1
-1
@@ -23,5 +23,5 @@ struct RoomTimelineItemProperties: Hashable {
|
||||
/// The aggregated reactions that have been sent for this item.
|
||||
var reactions: [AggregatedReaction] = []
|
||||
/// The delivery status for this item.
|
||||
var deliveryStatus: TimelineItemDeliveryStatus = .unknown
|
||||
var deliveryStatus: TimelineItemDeliveryStatus?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user