From 28086111e16da82ec0b3339189a9866453cff0c9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 25 Feb 2019 04:20:42 +0900 Subject: [PATCH] Resolve #4325 --- src/server/api/endpoints/notes/featured.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/notes/featured.ts b/src/server/api/endpoints/notes/featured.ts index 0d2187bb06..0bf583b54d 100644 --- a/src/server/api/endpoints/notes/featured.ts +++ b/src/server/api/endpoints/notes/featured.ts @@ -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 } } : {}) }, {