mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Implement emotes (/me) (#1841)
* implement emotes (/me) requires matthew/emotes branch of matrix-rust-sdk * changelog + whitespace * remove apparently superfluous swiftlint * fix constness * remove inout params and incorporate review * switch to new api based on sdk PR feedback * Bump the RustSDK to v1.1.21 * Address PR comments --------- Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
This commit is contained in:
@@ -558,7 +558,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
formattedBody = attributedStringBuilder.fromPlain(L10n.commonEmote(name, messageContent.body))
|
||||
}
|
||||
|
||||
return .init(body: messageContent.body, formattedBody: formattedBody)
|
||||
return .init(body: messageContent.body, formattedBody: formattedBody, formattedBodyHTMLString: htmlBody)
|
||||
}
|
||||
|
||||
// MARK: - State Events
|
||||
|
||||
Reference in New Issue
Block a user