Update the SDK. (#2529)

This commit is contained in:
Doug
2024-03-05 16:31:27 +00:00
committed by GitHub
parent 8c68f5a591
commit 7f3451216d
5 changed files with 33 additions and 21 deletions
@@ -67,6 +67,8 @@ struct RoomEventStringBuilder {
.map(AttributedString.init)
case .poll(let question, _, _, _, _, _, _):
return prefix(L10n.commonPollSummary(question), with: senderDisplayName)
case .callInvite:
return nil
}
}
@@ -73,6 +73,8 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
isOutgoing: isOutgoing)
case .poll(question: let question, kind: let kind, maxSelections: let maxSelections, answers: let answers, votes: let votes, endTime: let endTime, let edited):
return buildPollTimelineItem(question, kind, maxSelections, answers, votes, endTime, eventItemProxy, isOutgoing, edited)
case .callInvite:
return nil
}
}