Added html body to text messages and rendering through Apple's default NSAttributedString.DocumentType.html parser

This commit is contained in:
Stefan Ceriu
2022-03-22 10:09:46 +02:00
parent d201ca1ad8
commit 5c7761e851
12 changed files with 77 additions and 45 deletions
@@ -159,7 +159,7 @@ class HomeScreenViewModel: HomeScreenViewModelType, HomeScreenViewModelProtocol
return
}
self.updateLastMessage(lastMessage.content, forRoomWithIdentifier: roomIdentifier)
self.updateLastMessage(lastMessage.body, forRoomWithIdentifier: roomIdentifier)
default:
break
}