Fix Animated Emoji: Some emojis are not animated (#1091)

This commit is contained in:
Alexander Zinchuk 2021-05-13 12:00:31 +03:00
parent bf19ec22d0
commit 7bdcea43a1

View File

@ -39,7 +39,5 @@ export function selectAnimatedEmoji(global: GlobalState, emoji: string) {
return undefined;
}
emoji = emoji.replace('\ufe0f', '');
return animatedEmojis.stickers.find((sticker) => sticker.emoji === emoji);
}