mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Add polls' room summaries (#1770)
* Update sdk to 1.1.18 & add poll summary * Fix localisation
This commit is contained in:
@@ -68,9 +68,8 @@ struct RoomEventStringBuilder {
|
||||
member: sender.id,
|
||||
memberIsYou: isOutgoing)
|
||||
.map(AttributedString.init)
|
||||
case .poll:
|
||||
// The Rust SDK doesn't support poll events as room summaries yet
|
||||
return nil
|
||||
case .poll(let question, _, _, _, _, _):
|
||||
return prefix(L10n.commonPollSummary(question), with: senderDisplayName)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user