mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-02 16:58:11 +09:00
リモートユーザーはおすすめユーザーに含めないように
This commit is contained in:
parent
366e1f7df5
commit
bcc5449e47
@ -30,15 +30,13 @@ module.exports = (params, me) => new Promise(async (res, rej) => {
|
|||||||
_id: {
|
_id: {
|
||||||
$nin: followingIds
|
$nin: followingIds
|
||||||
},
|
},
|
||||||
$or: [
|
$or: [{
|
||||||
{
|
'lastUsedAt': {
|
||||||
'lastUsedAt': {
|
$gte: new Date(Date.now() - ms('7days'))
|
||||||
$gte: new Date(Date.now() - ms('7days'))
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
host: { $ne: null }
|
|
||||||
}
|
}
|
||||||
]
|
}, {
|
||||||
|
host: null
|
||||||
|
}]
|
||||||
}, {
|
}, {
|
||||||
limit: limit,
|
limit: limit,
|
||||||
skip: offset,
|
skip: offset,
|
||||||
|
Loading…
Reference in New Issue
Block a user