fix(server): チャンネルでミュートが正しく機能していないのを修正 (#10166)

* fix(server): チャンネルでミュートが正しく機能していないのを修正

* Update CHANGELOG.md
This commit is contained in:
kabo2468
2023-03-03 10:30:21 +09:00
committed by GitHub
parent 8a561bdb78
commit 53987fadd7
2 changed files with 7 additions and 0 deletions

View File

@ -82,6 +82,12 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
.leftJoinAndSelect('renoteUser.avatar', 'renoteUserAvatar')
.leftJoinAndSelect('renoteUser.banner', 'renoteUserBanner')
.leftJoinAndSelect('note.channel', 'channel');
if (me) {
this.queryService.generateMutedUserQuery(query, me);
this.queryService.generateMutedNoteQuery(query, me);
this.queryService.generateBlockedUserQuery(query, me);
}
//#endregion
const timeline = await query.take(ps.limit).getMany();