From c8607ff7b6a7ee6714d07da22016ebf6e5af6ab8 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Thu, 20 Dec 2018 22:56:12 +0900 Subject: [PATCH] Tune polls/recommendation (#3703) --- src/server/api/endpoints/notes/polls/recommendation.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/api/endpoints/notes/polls/recommendation.ts b/src/server/api/endpoints/notes/polls/recommendation.ts index cfcba788e..2bc1a4f91 100644 --- a/src/server/api/endpoints/notes/polls/recommendation.ts +++ b/src/server/api/endpoints/notes/polls/recommendation.ts @@ -39,6 +39,7 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => { const notes = await Note .find({ + '_user.host': null, _id: { $nin: nin },