fix: Reply fallback sometimes being stripped incorrectly

This commit is contained in:
Sorunome
2020-12-27 16:47:03 +01:00
parent 4a2a472d6c
commit e9ec6993df
3 changed files with 8 additions and 3 deletions

View File

@ -95,7 +95,7 @@ class MessageContent extends StatelessWidget {
if (AppConfig.renderHtml &&
!event.redacted &&
event.isRichMessage) {
String html = event.content['formatted_body'];
var html = event.formattedText;
if (event.messageType == MessageTypes.Emote) {
html = '* $html';
}