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) {
|
||||
return;
|
||||
}
|
||||
const stickers = packs[emoji];
|
||||
if (stickers) {
|
||||
stickersForEmoji = stickersForEmoji.concat(stickers);
|
||||
}
|
||||
|
||||
stickersForEmoji = stickersForEmoji.concat(packs[emoji] || [], packs[cleanEmoji(emoji)] || []);
|
||||
});
|
||||
return stickersForEmoji;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user