mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-06 12:28:29 +00:00
Added html body to text messages and rendering through Apple's default NSAttributedString.DocumentType.html parser
This commit is contained in:
@@ -21,8 +21,12 @@ struct TextRoomMessage: RoomMessageProtocol {
|
||||
message.baseMessage().id()
|
||||
}
|
||||
|
||||
var content: String {
|
||||
message.baseMessage().content()
|
||||
var body: String {
|
||||
message.baseMessage().body()
|
||||
}
|
||||
|
||||
var htmlBody: String? {
|
||||
message.htmlBody()
|
||||
}
|
||||
|
||||
var sender: String {
|
||||
|
||||
Reference in New Issue
Block a user