summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes/timeline.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-01-21 15:31:19 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-01-21 15:31:19 +0900
commit129d74b463b4b9b510e3acac63985db961cfe709 (patch)
tree5655f3683b7e16c6cd51f2b1e6752b878c3cc8ca /src/server/api/endpoints/notes/timeline.ts
parentFix comment URL (diff)
downloadmisskey-129d74b463b4b9b510e3acac63985db961cfe709.tar.gz
misskey-129d74b463b4b9b510e3acac63985db961cfe709.tar.bz2
misskey-129d74b463b4b9b510e3acac63985db961cfe709.zip
[Server] ストリームで流れてくる投稿とAPIでタイムラインを取得したときとの不一致を修正
Diffstat (limited to 'src/server/api/endpoints/notes/timeline.ts')
-rw-r--r--src/server/api/endpoints/notes/timeline.ts4
1 files changed, 2 insertions, 2 deletions
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 ? [{