From 129d74b463b4b9b510e3acac63985db961cfe709 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 21 Jan 2019 15:31:19 +0900 Subject: [Server] ストリームで流れてくる投稿とAPIでタイムラインを取得したときとの不一致を修正 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/api/endpoints/notes/timeline.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 9b0cc6ac20..94f4fb72d3 100644 --- a/src/server/api/endpoints/notes/timeline.ts +++ b/src/server/api/endpoints/notes/timeline.ts @@ -120,7 +120,7 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => { const followQuery = followings.map(f => ({ userId: f.id, - // ストーキングしてないならリプライは含めない(ただし投稿者自身の投稿へのリプライ、自分の投稿へのリプライ、自分のリプライは含める) + /*// リプライは含めない(ただし投稿者自身の投稿へのリプライ、自分の投稿へのリプライ、自分のリプライは含める) $or: [{ // リプライでない replyId: null @@ -135,7 +135,7 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => { }, { // または // 自分(フォロワー)が送信したリプライ userId: user._id - }] + }]*/ })); const visibleQuery = user == null ? [{ -- cgit v1.2.3-freya