Skip to content

Commit

Permalink
fix(backend): Mastodon 사용자에게 대화를 보낼 때 [#objectobject] 태그가 추가될 수 있음
Browse files Browse the repository at this point in the history
Update CHANGELOG_CHERRYPICK.md

test

test

test
  • Loading branch information
noridev committed May 8, 2024
1 parent 03bbd93 commit 646f21d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG_CHERRYPICK.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Misskey의 전체 변경 사항을 확인하려면, [CHANGELOG.md#2024xx](CHANGE
### Server
- Enhance: 디버깅을 보다 편하게 할 수 있도록 vite 생성 파일의 이름 개선
- Fix: 엔드포인트 `users/translate` 에러 개선
- Fix: Mastodon 사용자에게 대화를 보낼 때 [#objectobject] 태그가 추가될 수 있음

---

Expand Down
4 changes: 2 additions & 2 deletions packages/backend/src/core/MessagingService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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));

Expand Down

0 comments on commit 646f21d

Please sign in to comment.