From 0e4732180f80fb58a59c84e66f03f63240142ffc Mon Sep 17 00:00:00 2001 From: 4ster1sk <146138447+4ster1sk@users.noreply.github.com> Date: Fri, 20 Mar 2026 17:15:59 +0900 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20Unicode=E7=B5=B5=E6=96=87?= =?UTF-8?q?=E5=AD=97=E3=81=AE=E3=83=AA=E3=82=A2=E3=82=AF=E3=82=B7=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=81=8C=E8=A1=A8=E7=A4=BA=E3=81=AB=E5=8F=8D=E6=98=A0?= =?UTF-8?q?=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84=E3=81=93=E3=81=A8=E3=81=8C?= =?UTF-8?q?=E3=81=82=E3=82=8B=E5=95=8F=E9=A1=8C=E3=81=AE=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20(#17250)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/MkReactionsViewer.reaction.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkReactionsViewer.reaction.vue b/packages/frontend/src/components/MkReactionsViewer.reaction.vue index a89f947fa7..e9ed1cf4ac 100644 --- a/packages/frontend/src/components/MkReactionsViewer.reaction.vue +++ b/packages/frontend/src/components/MkReactionsViewer.reaction.vue @@ -106,7 +106,9 @@ async function toggleReaction() { reaction: props.reaction, }).then(() => { const emoji = customEmojisMap.get(emojiName.value); - if (emoji == null) return; + if (emoji == null && getUnicodeEmojiOrNull(props.reaction) == null) { + return; + } noteEvents.emit(`reacted:${props.noteId}`, { userId: me.id, reaction: props.reaction, @@ -138,7 +140,9 @@ async function toggleReaction() { reaction: props.reaction, }).then(() => { const emoji = customEmojisMap.get(emojiName.value); - if (emoji == null) return; + if (emoji == null && getUnicodeEmojiOrNull(props.reaction) == null) { + return; + } noteEvents.emit(`reacted:${props.noteId}`, { userId: me.id,