Sticker Tooltip: Fix missing results (#1696)
This commit is contained in:
parent
c3c7b488cc
commit
cd172ebea7
@ -35,10 +35,8 @@ export function selectStickersForEmoji(global: GlobalState, emoji: string) {
|
|||||||
if (!packs) {
|
if (!packs) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const stickers = packs[emoji];
|
|
||||||
if (stickers) {
|
stickersForEmoji = stickersForEmoji.concat(packs[emoji] || [], packs[cleanEmoji(emoji)] || []);
|
||||||
stickersForEmoji = stickersForEmoji.concat(stickers);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
return stickersForEmoji;
|
return stickersForEmoji;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user