1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-27 22:38:34 +09:00
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);
return found ? found.url : null;
} else {
const rawUrl = props.host ? `/emoji/${customEmojiName}@${props.host}.webp` : `/emoji/${customEmojiName}.webp`;
const rawUrl = `/emoji/${customEmojiName}@${props.host}.webp`;
return defaultStore.state.disableShowingAnimatedImages
? getStaticImageUrl(rawUrl)
: rawUrl;