fix: Small stuff
This commit is contained in:
parent
be124da954
commit
4a71884bbe
3 changed files with 4 additions and 5 deletions
|
|
@ -43,8 +43,7 @@ class MessageContent extends StatelessWidget {
|
|||
case MessageTypes.Emote:
|
||||
if (Matrix.of(context).renderHtml &&
|
||||
!event.redacted &&
|
||||
event.content['format'] == 'org.matrix.custom.html' &&
|
||||
event.content['formatted_body'] is String) {
|
||||
event.isRichMessage) {
|
||||
String html = event.content['formatted_body'];
|
||||
if (event.messageType == MessageTypes.Emote) {
|
||||
html = '* $html';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue