Fix some pack not visible in emojiboard
This commit is contained in:
parent
b2342ecd16
commit
4d76b593fe
1 changed files with 0 additions and 1 deletions
|
@ -206,7 +206,6 @@ function EmojiBoard({ onSelect, searchRef }) {
|
|||
const room = initMatrix.matrixClient.getRoom(selectedRoomId);
|
||||
if (room) {
|
||||
const packs = getRelevantPacks(room.client, [room])
|
||||
.filter((pack) => pack.usage.includes('emoticon'))
|
||||
.filter((pack) => pack.getEmojis().length !== 0);
|
||||
|
||||
// Set an index for each pack so that we know where to jump when the user uses the nav
|
||||
|
|
Loading…
Reference in a new issue