Skip to content

Commit

Permalink
enhance(backend): '내용 숨기기'로 설정된 노트의 주석도 노트 편집 기록에 표시됨
Browse files Browse the repository at this point in the history
  • Loading branch information
noridev committed Oct 19, 2023
1 parent a8b81ee commit 6a2deeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG_CHERRYPICK.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Misskey의 전체 변경 사항을 확인하려면, [CHANGELOG.md#2023xx](CHANGE
- Fix: '새 노트 알림'을 '노트 수 표시'로 설정했을 때 한국어 이외의 언어에서 내용이 표시되지 않음

### Server
- Enhance: '내용 숨기기'로 설정된 노트의 주석도 노트 편집 기록에 표시됨
- Revert: Perf: 부팅 시 MeiliSearch 설정을 업데이트하지 마십시오 (MisskeyIO/misskey#158)

---
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/server/api/endpoints/notes/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
cw: ps.cw,
text: ps.text,
updatedAtHistory: [...updatedAtHistory, new Date()],
noteEditHistory: [...note.noteEditHistory, note.text!],
noteEditHistory: [...note.noteEditHistory, (note.cw ? note.cw + '\n' : '') + note.text!],
});

this.globalEventService.publishNoteStream(note.id, 'updated', {
Expand Down

0 comments on commit 6a2deeb

Please sign in to comment.