|
|
@ -43,8 +43,7 @@ class MessageContent extends StatelessWidget {
|
|
|
|
case MessageTypes.Emote:
|
|
|
|
case MessageTypes.Emote:
|
|
|
|
if (Matrix.of(context).renderHtml &&
|
|
|
|
if (Matrix.of(context).renderHtml &&
|
|
|
|
!event.redacted &&
|
|
|
|
!event.redacted &&
|
|
|
|
event.content['format'] == 'org.matrix.custom.html' &&
|
|
|
|
event.isRichMessage) {
|
|
|
|
event.content['formatted_body'] is String) {
|
|
|
|
|
|
|
|
String html = event.content['formatted_body'];
|
|
|
|
String html = event.content['formatted_body'];
|
|
|
|
if (event.messageType == MessageTypes.Emote) {
|
|
|
|
if (event.messageType == MessageTypes.Emote) {
|
|
|
|
html = '* $html';
|
|
|
|
html = '* $html';
|
|
|
|