fix: Small stuff

This commit is contained in:
Sorunome 2020-09-21 09:44:13 +02:00 committed by Christian Pauly
parent b2240513c5
commit 9d3f272c2a
3 changed files with 4 additions and 5 deletions

View File

@ -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';

View File

@ -180,8 +180,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: d42979da12ad6749a3c47c67dc4fb0f0f57420b4
resolved-ref: d42979da12ad6749a3c47c67dc4fb0f0f57420b4
ref: "0ff971faa99ca946acf116a51fc31ef7fe87a745"
resolved-ref: "0ff971faa99ca946acf116a51fc31ef7fe87a745"
url: "https://gitlab.com/famedly/famedlysdk.git"
source: git
version: "0.0.1"

View File

@ -27,7 +27,7 @@ dependencies:
famedlysdk:
git:
url: https://gitlab.com/famedly/famedlysdk.git
ref: d42979da12ad6749a3c47c67dc4fb0f0f57420b4
ref: 0ff971faa99ca946acf116a51fc31ef7fe87a745
localstorage: ^3.0.1+4
memoryfilepicker: ^0.1.3