From 1a689f66419d2ea2f4eb34fa3fe868ea250fdbb9 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Fri, 12 Oct 2018 05:10:40 +0900 Subject: 削除された投稿はタイムライン上で表示しないようにする (#2887) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Excepts deleted notes on query * Hide deleted notes * Use v-show --- src/server/api/endpoints/notes/timeline.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server/api/endpoints/notes/timeline.ts') diff --git a/src/server/api/endpoints/notes/timeline.ts b/src/server/api/endpoints/notes/timeline.ts index 44a504eb18..31a4978407 100644 --- a/src/server/api/endpoints/notes/timeline.ts +++ b/src/server/api/endpoints/notes/timeline.ts @@ -132,6 +132,8 @@ export default async (params: any, user: ILocalUser) => { const query = { $and: [{ + deletedAt: null, + // フォローしている人の投稿 $or: followQuery, -- cgit v1.2.3-freya