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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -23,6 +23,7 @@ You should also include the user name that made the change.
### Bugfixes
- 外部メディアプロキシ使用時にアバタークロップができない問題を修正
- fix(server): メールアドレス更新時にバリデーションが正しく行われていないのを修正
- fix(server): チャンネルでミュートが正しく機能していないのを修正
## 13.8.1 (2023/02/26)

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();