mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Update SDK to 1.0.102-alpha (#1408)
* Update SDK to 1.0.102-alpha * Log error * Notification Improvements API part 1 (#1410) * changes * WIP * progress * updated test * removed unused * code improvement * Process diffs as batches provided by the SDK. --------- Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com> Co-authored-by: Doug <douglase@element.io>
This commit is contained in:
@@ -90,6 +90,8 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
avatarURLString: avatarUrl,
|
||||
previousAvatarURLString: prevAvatarUrl,
|
||||
isOutgoing: isOutgoing)
|
||||
case .poll, .pollEnd:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
@@ -498,7 +500,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
return .notLoaded(eventID: details.eventId)
|
||||
case .pending:
|
||||
return .loading(eventID: details.eventId)
|
||||
case let .ready(message, senderID, senderProfile):
|
||||
case let .ready(timelineItem, senderID, senderProfile):
|
||||
let sender: TimelineItemSender
|
||||
switch senderProfile {
|
||||
case let .ready(displayName, _, avatarUrl):
|
||||
@@ -512,7 +514,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
}
|
||||
|
||||
let replyContent: EventBasedMessageTimelineItemContentType
|
||||
switch message.msgtype() {
|
||||
switch timelineItem.asMessage()?.msgtype() {
|
||||
case .audio(let content):
|
||||
replyContent = .audio(buildAudioTimelineItemContent(content))
|
||||
case .emote(let content):
|
||||
|
||||
Reference in New Issue
Block a user