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);