mirror of
https://github.com/cinnyapp/cinny.git
synced 2024-11-20 14:59:55 +01:00
Fix room not selecting with bad emoji data (#772)
This commit is contained in:
parent
6cbf1b2eac
commit
82fb243ffe
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ function getUserImagePack(mx) {
|
|||
}
|
||||
|
||||
const userImagePack = ImagePack.parsePack(mx.getUserId(), accountDataEmoji.event.content);
|
||||
userImagePack.displayName ??= 'Personal Emoji';
|
||||
if (userImagePack) userImagePack.displayName ??= 'Personal Emoji';
|
||||
return userImagePack;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue