Merge branch 'soru/fix-emotes-msc-compliance' into 'main'

fix: Emotes MSC compliance

See merge request famedly/famedlysdk!619
This commit is contained in:
Krille Fear 2021-01-20 09:42:26 +00:00
commit 8de72c869a
1 changed files with 2 additions and 2 deletions

View File

@ -495,8 +495,8 @@ class Room {
if (!(content['emoticons'] is Map) && !(content['short'] is Map)) {
return;
}
if (content['pack'] is Map && content['pack']['name'] is String) {
packName = content['pack']['name'];
if (content['pack'] is Map && content['pack']['short'] is String) {
packName = content['pack']['short'];
}
if (packNameOverride != null && packNameOverride.isNotEmpty) {
packName = packNameOverride;