mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 19:35:12 +00:00
parent
3ba5541a66
commit
5f49ac1b11
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ const url = computed(() => {
|
||||||
return char2path(char.value);
|
return char2path(char.value);
|
||||||
} else if (props.host == null && !customEmojiName.includes('@')) {
|
} else if (props.host == null && !customEmojiName.includes('@')) {
|
||||||
const found = customEmojis.find(x => x.name === customEmojiName);
|
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 {
|
} else {
|
||||||
const rawUrl = props.host ? `/emoji/${customEmojiName}@${props.host}.webp` : `/emoji/${customEmojiName}.webp`;
|
const rawUrl = props.host ? `/emoji/${customEmojiName}@${props.host}.webp` : `/emoji/${customEmojiName}.webp`;
|
||||||
return defaultStore.state.disableShowingAnimatedImages
|
return defaultStore.state.disableShowingAnimatedImages
|
||||||
|
|
Loading…
Reference in a new issue