diff --git a/packages/backend/src/server/api/endpoints/federation/followers.ts b/packages/backend/src/server/api/endpoints/federation/followers.ts index 29c5372033..42c0c29fa6 100644 --- a/packages/backend/src/server/api/endpoints/federation/followers.ts +++ b/packages/backend/src/server/api/endpoints/federation/followers.ts @@ -56,7 +56,7 @@ export default class extends Endpoint { // eslint- .andWhere('following.followeeHost = :host', { host: ps.host }); if (!await this.roleService.isModerator(me)) { - query.leftJoin(MiBlocking, 'blocking', 'blocking."blockerId" = following."followerId" AND blocking."blockeeId" = :me', { me: me.id }); + query.leftJoin(MiBlocking, 'blocking', 'blocking."blockerId" = following."followeeId" AND blocking."blockeeId" = :me', { me: me.id }); query.andWhere('blocking.id IS NULL'); }