diff --git a/packages/frontend/src/components/MkChatPreview.vue b/packages/frontend/src/components/MkChatPreview.vue index 27f07c33ca..f11339940b 100644 --- a/packages/frontend/src/components/MkChatPreview.vue +++ b/packages/frontend/src/components/MkChatPreview.vue @@ -8,7 +8,7 @@ SPDX-License-Identifier: AGPL-3.0-only v-anim="i" class="_panel" :class="[$style.message, { [$style.isRead]: (isMe(message) || (message.groupId ? message.reads.includes($i.id) : message.isRead)) }]" - :to="message.groupId ? `/my/messaging/group/${message.groupId}` : `/my/messaging/${getAcct(isMe(message) ? message.recipient : message.user)}`" + :to="message.groupId ? `/my/messaging/group/${ message.groupId }` : `/my/messaging/@${Misskey.acct.toString(isMe(message) ? message.recipient : message.user)}`" :data-index="i" >
@@ -20,7 +20,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- @{{ acct(isMe(message) ? message.recipient : message.user) }} + @{{ Misskey.acct.toString(isMe(message) ? message.recipient : message.user) }}
@@ -31,13 +31,10 @@ SPDX-License-Identifier: AGPL-3.0-only