fix: Emotes MSC compliance
This commit is contained in:
parent
f65d87e38c
commit
70a4dad1c3
|
|
@ -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