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)) {
|
||||
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue