Merge branch 'soru/fix-emotes-msc-compliance' into 'main'
fix: Emotes MSC compliance See merge request famedly/famedlysdk!619
This commit is contained in:
commit
8de72c869a
|
|
@ -495,8 +495,8 @@ class Room {
|
||||||
if (!(content['emoticons'] is Map) && !(content['short'] is Map)) {
|
if (!(content['emoticons'] is Map) && !(content['short'] is Map)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (content['pack'] is Map && content['pack']['name'] is String) {
|
if (content['pack'] is Map && content['pack']['short'] is String) {
|
||||||
packName = content['pack']['name'];
|
packName = content['pack']['short'];
|
||||||
}
|
}
|
||||||
if (packNameOverride != null && packNameOverride.isNotEmpty) {
|
if (packNameOverride != null && packNameOverride.isNotEmpty) {
|
||||||
packName = packNameOverride;
|
packName = packNameOverride;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue