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)) {
|
||||
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