From 363d727c55c94edb3a6407693ecb1753e63b0798 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 22 Jan 2023 05:33:26 +0900 Subject: [PATCH 1/3] refactor --- packages/frontend/src/components/global/MkEmoji.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/global/MkEmoji.vue b/packages/frontend/src/components/global/MkEmoji.vue index aaad81c65..a6594a526 100644 --- a/packages/frontend/src/components/global/MkEmoji.vue +++ b/packages/frontend/src/components/global/MkEmoji.vue @@ -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; From 957eff0e63771427f3756cf6aa536a4c1cc0a426 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 22 Jan 2023 05:39:33 +0900 Subject: [PATCH 2/3] =?UTF-8?q?fix(client):=20=E3=83=AA=E3=82=A2=E3=82=AF?= =?UTF-8?q?=E3=82=B7=E3=83=A7=E3=83=B3=E3=81=AE=E3=82=AB=E3=82=B9=E3=82=BF?= =?UTF-8?q?=E3=83=A0=E7=B5=B5=E6=96=87=E5=AD=97=E3=81=8C=E8=A1=A8=E7=A4=BA?= =?UTF-8?q?=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84=E3=81=AE=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #9682 --- packages/frontend/src/components/global/MkEmoji.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/global/MkEmoji.vue b/packages/frontend/src/components/global/MkEmoji.vue index a6594a526..f16e25624 100644 --- a/packages/frontend/src/components/global/MkEmoji.vue +++ b/packages/frontend/src/components/global/MkEmoji.vue @@ -25,7 +25,7 @@ const props = defineProps<{ const char2path = defaultStore.state.emojiStyle === 'twemoji' ? char2twemojiFilePath : char2fluentEmojiFilePath; const isCustom = computed(() => props.emoji.startsWith(':')); -const customEmojiName = props.emoji.substr(1, props.emoji.length - 2); +const customEmojiName = props.emoji.substr(1, props.emoji.length - 2).replace('@.', ''); const char = computed(() => isCustom.value ? undefined : props.emoji); const useOsNativeEmojis = computed(() => defaultStore.state.emojiStyle === 'native' && !props.isReaction); const url = computed(() => { From ccb22539e1f90d2eb7e380fcdb8c69639d381c63 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 22 Jan 2023 05:40:48 +0900 Subject: [PATCH 3/3] 13.1.2 --- CHANGELOG.md | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1841be3fb..b01698687 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,11 @@ You should also include the user name that made the change. --> +## 13.1.2 (2023/01/22) + +### Bugfixes +- Client: リアクションのカスタム絵文字の表示の問題を修正 + ## 13.1.1 (2023/01/22) ### Improvements diff --git a/package.json b/package.json index d30ea8eea..435ef58a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "misskey", - "version": "13.1.0", + "version": "13.1.2", "codename": "nasubi", "repository": { "type": "git",