From 291e7e79438bedd654353726bea8a3706243205b Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Fri, 26 Apr 2019 00:52:58 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=8A=E3=81=99=E3=81=99=E3=82=81=E3=83=A6?= =?UTF-8?q?=E3=83=BC=E3=82=B6=E3=83=BC=E3=81=AB=E8=87=AA=E5=88=86=E8=87=AA?= =?UTF-8?q?=E8=BA=AB=E3=82=92=E5=90=AB=E3=81=BE=E3=81=AA=E3=81=84=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=20(#4803)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #4790 --- src/server/api/endpoints/users/recommendation.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/api/endpoints/users/recommendation.ts b/src/server/api/endpoints/users/recommendation.ts index 67b646a35..5b74d442c 100644 --- a/src/server/api/endpoints/users/recommendation.ts +++ b/src/server/api/endpoints/users/recommendation.ts @@ -44,6 +44,7 @@ export default define(meta, async (ps, me) => { .where('user.isLocked = FALSE') .where('user.host IS NULL') .where('user.updatedAt >= :date', { date: new Date(Date.now() - ms('7days')) }) + .where('user.id != :meId', { meId: me.id }) .orderBy('user.followersCount', 'DESC'); generateMuteQueryForUsers(query, me);