enhance(backend): '내용 숨기기'로 설정된 노트의 주석도 노트 편집 기록에 표시됨

This commit is contained in:
NoriDev 2023-10-19 19:45:08 +09:00
parent a8b81ee8bb
commit 6a2deeb427
2 changed files with 2 additions and 1 deletions

View file

@ -36,6 +36,7 @@ Misskey의 전체 변경 사항을 확인하려면, [CHANGELOG.md#2023xx](CHANGE
- Fix: '새 노트 알림'을 '노트 수 표시'로 설정했을 때 한국어 이외의 언어에서 내용이 표시되지 않음
### Server
- Enhance: '내용 숨기기'로 설정된 노트의 주석도 노트 편집 기록에 표시됨
- Revert: Perf: 부팅 시 MeiliSearch 설정을 업데이트하지 마십시오 (MisskeyIO/misskey#158)
---

View file

@ -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', {