This commit is contained in:
syuilo 2019-02-25 04:20:42 +09:00
parent 60c9a6528f
commit 28086111e1
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -42,7 +42,7 @@ export default define(meta, async (ps, user) => {
$gt: new Date(Date.now() - day)
},
deletedAt: null,
visibility: { $in: ['public', 'home'] },
visibility: 'public',
'_user.host': null,
...(hideUserIds && hideUserIds.length > 0 ? { userId: { $nin: hideUserIds } } : {})
}, {