fix: Make animated WebP emotes properly animate

Signed-off-by: solunareclipse1 <sol@solunareclipse1.net>
This commit is contained in:
solunareclipse1
2025-07-10 23:41:57 -05:00
parent 9e293e0a30
commit 1136e8e31b

View File

@@ -34,7 +34,7 @@ export function RenderEmoji({ match }: CustomComponentProps) {
? `${ ? `${
clientController.getAvailableClient().configuration?.features clientController.getAvailableClient().configuration?.features
.autumn.url .autumn.url
}/emojis/${match}` }/emojis/${match}/original`
: parseEmoji( : parseEmoji(
match in emojiDictionary match in emojiDictionary
? emojiDictionary[match as keyof typeof emojiDictionary] ? emojiDictionary[match as keyof typeof emojiDictionary]