[Server] ストリームで流れてくる投稿とAPIでタイムラインを取得したときとの不一致を修正
This commit is contained in:
parent
533540031b
commit
129d74b463
4 changed files with 8 additions and 8 deletions
|
@ -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 ? [{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue