Fix some pack not visible in emojiboard
This commit is contained in:
parent
4fd2d3adc2
commit
5816ec7d2f
1 changed files with 0 additions and 1 deletions
|
@ -206,7 +206,6 @@ function EmojiBoard({ onSelect, searchRef }) {
|
||||||
const room = initMatrix.matrixClient.getRoom(selectedRoomId);
|
const room = initMatrix.matrixClient.getRoom(selectedRoomId);
|
||||||
if (room) {
|
if (room) {
|
||||||
const packs = getRelevantPacks(room.client, [room])
|
const packs = getRelevantPacks(room.client, [room])
|
||||||
.filter((pack) => pack.usage.includes('emoticon'))
|
|
||||||
.filter((pack) => pack.getEmojis().length !== 0);
|
.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
|
// 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