fix:ロールタイムライン無効に関する修正 (#10843)

* 修正

* note visibility change

* public投稿のみ

* update changelog

* RN非表示機能がうごかないところだった
This commit is contained in:
nenohi
2023-05-19 17:12:22 +09:00
committed by GitHub
parent 02715f5d14
commit bd6666173a
5 changed files with 22 additions and 2 deletions

View File

@@ -93,6 +93,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
const query = this.notesRepository.createQueryBuilder('note')
.where('note.id IN (:...noteIds)', { noteIds: noteIds })
.andWhere('(note.visibility = \'public\')')
.innerJoinAndSelect('note.user', 'user')
.leftJoinAndSelect('note.reply', 'reply')
.leftJoinAndSelect('note.renote', 'renote')