This commit is contained in:
syuilo 2023-01-22 05:33:26 +09:00
parent 7800a12e52
commit 363d727c55

View file

@ -35,7 +35,7 @@ const url = computed(() => {
const found = customEmojis.find(x => x.name === customEmojiName); const found = customEmojis.find(x => x.name === customEmojiName);
return found ? found.url : null; return found ? found.url : null;
} else { } else {
const rawUrl = props.host ? `/emoji/${customEmojiName}@${props.host}.webp` : `/emoji/${customEmojiName}.webp`; const rawUrl = `/emoji/${customEmojiName}@${props.host}.webp`;
return defaultStore.state.disableShowingAnimatedImages return defaultStore.state.disableShowingAnimatedImages
? getStaticImageUrl(rawUrl) ? getStaticImageUrl(rawUrl)
: rawUrl; : rawUrl;