From 1dc61684e73b863705de458e286a536eb8eecc35 Mon Sep 17 00:00:00 2001 From: mei23 Date: Sun, 26 Feb 2023 12:17:46 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AA=E3=82=B9=E3=83=88=E3=81=AB=E3=81=8A?= =?UTF-8?q?=E3=81=84=E3=81=A6=E3=82=82=E3=83=A6=E3=83=BC=E3=82=B6=E3=83=BC?= =?UTF-8?q?=E3=83=9F=E3=83=A5=E3=83=BC=E3=83=88=E3=81=AE=E8=A8=AD=E5=AE=9A?= =?UTF-8?q?=E3=82=92=E9=81=A9=E7=94=A8=E3=81=99=E3=82=8B=20Resolve=20#2441?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/api/endpoints/notes/user-list-timeline.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/api/endpoints/notes/user-list-timeline.ts b/src/server/api/endpoints/notes/user-list-timeline.ts index 6cf7f02815..edc45e5e5f 100644 --- a/src/server/api/endpoints/notes/user-list-timeline.ts +++ b/src/server/api/endpoints/notes/user-list-timeline.ts @@ -7,6 +7,7 @@ import { makePaginationQuery } from '../../common/make-pagination-query'; import { generateVisibilityQuery } from '../../common/generate-visibility-query'; import { activeUsersChart } from '../../../../services/chart'; import { Brackets } from 'typeorm'; +import { generateMuteQuery } from '../../common/generate-mute-query'; export const meta = { desc: { @@ -140,6 +141,7 @@ export default define(meta, async (ps, user) => { .andWhere('userListJoining.userListId = :userListId', { userListId: list.id }); generateVisibilityQuery(query, user); + generateMuteQuery(query, user); if (ps.includeMyRenotes === false) { query.andWhere(new Brackets(qb => {