diff --git a/CHANGELOG_CHERRYPICK.md b/CHANGELOG_CHERRYPICK.md index cacbfb1fdf..7116941c85 100644 --- a/CHANGELOG_CHERRYPICK.md +++ b/CHANGELOG_CHERRYPICK.md @@ -39,6 +39,7 @@ Misskey의 전체 변경 사항을 확인하려면, [CHANGELOG.md#2024xx](CHANGE ### Server - Enhance: 디버깅을 보다 편하게 할 수 있도록 vite 생성 파일의 이름 개선 - Fix: 엔드포인트 `users/translate` 에러 개선 +- Fix: Mastodon 사용자에게 대화를 보낼 때 [#objectobject] 태그가 추가될 수 있음 --- diff --git a/packages/backend/src/core/MessagingService.ts b/packages/backend/src/core/MessagingService.ts index 5891f2c8ea..0a05e3acd9 100644 --- a/packages/backend/src/core/MessagingService.ts +++ b/packages/backend/src/core/MessagingService.ts @@ -137,7 +137,7 @@ export class MessagingService { userId: message.userId, visibility: 'specified', emojis: [{}], - tags: [{}], + tags: [], mentions: [recipientUser].map(u => u.id), mentionedRemoteUsers: JSON.stringify([recipientUser].map(u => ({ uri: u.uri, @@ -146,7 +146,7 @@ export class MessagingService { host: u.host, } as IMentionedRemoteUsers[0] ))), - } as MiNote; + } as unknown as MiNote; const activity = this.apRendererService.addContext(this.apRendererService.renderCreate(await this.apRendererService.renderNote(note, false, true), note));