Skip to content
Snippets Groups Projects
Commit 5f49ac1b authored by tamaina's avatar tamaina
Browse files

fix(client): アニメーションをオフに設定しても絵文字のアニメーションが止まらない

Fix #9720
parent 3ba5541a
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ const url = computed(() => {
return char2path(char.value);
} else if (props.host == null && !customEmojiName.includes('@')) {
const found = customEmojis.find(x => x.name === customEmojiName);
return found ? found.url : null;
return found ? defaultStore.state.disableShowingAnimatedImages ? getStaticImageUrl(found.url) : found.url : null;
} else {
const rawUrl = props.host ? `/emoji/${customEmojiName}@${props.host}.webp` : `/emoji/${customEmojiName}.webp`;
return defaultStore.state.disableShowingAnimatedImages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment