From 21bbc66c4484ad7a13000e49e9e3c84dc6f109c3 Mon Sep 17 00:00:00 2001 From: mei23 Date: Sun, 17 May 2020 03:04:13 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B0=E3=83=AD=E3=83=BC=E3=83=90=E3=83=AB?= =?UTF-8?q?=E3=81=AB=E8=BF=94=E4=BF=A1=E3=82=82=E8=A1=A8=E7=A4=BA=E3=81=99?= =?UTF-8?q?=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/api/endpoints/notes/global-timeline.ts | 1 - src/server/api/stream/channels/global-timeline.ts | 5 ----- 2 files changed, 6 deletions(-) diff --git a/src/server/api/endpoints/notes/global-timeline.ts b/src/server/api/endpoints/notes/global-timeline.ts index 4abfd833e..bda1d9454 100644 --- a/src/server/api/endpoints/notes/global-timeline.ts +++ b/src/server/api/endpoints/notes/global-timeline.ts @@ -58,7 +58,6 @@ export default define(meta, async (ps, user) => { const query = makePaginationQuery(Notes.createQueryBuilder('note'), ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate) .andWhere('note.visibility = \'public\'') - .andWhere('note.replyId IS NULL') .leftJoinAndSelect('note.user', 'user'); if (user) generateMuteQuery(query, user); diff --git a/src/server/api/stream/channels/global-timeline.ts b/src/server/api/stream/channels/global-timeline.ts index 081046aa4..e360302eb 100644 --- a/src/server/api/stream/channels/global-timeline.ts +++ b/src/server/api/stream/channels/global-timeline.ts @@ -32,11 +32,6 @@ export default class extends Channel { }); } - // 返信は除外 - if (note.reply) { - return; - } - // 流れてきたNoteがミュートしているユーザーが関わるものだったら無視する if (shouldMuteThisNote(note, this.muting)) return;