mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-19 08:23:08 +02:00
Resolve #4325
This commit is contained in:
parent
60c9a6528f
commit
28086111e1
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export default define(meta, async (ps, user) => {
|
||||||
$gt: new Date(Date.now() - day)
|
$gt: new Date(Date.now() - day)
|
||||||
},
|
},
|
||||||
deletedAt: null,
|
deletedAt: null,
|
||||||
visibility: { $in: ['public', 'home'] },
|
visibility: 'public',
|
||||||
'_user.host': null,
|
'_user.host': null,
|
||||||
...(hideUserIds && hideUserIds.length > 0 ? { userId: { $nin: hideUserIds } } : {})
|
...(hideUserIds && hideUserIds.length > 0 ? { userId: { $nin: hideUserIds } } : {})
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in a new issue