From c8c505fb927e5567fa91ee8e41e9b20121f34743 Mon Sep 17 00:00:00 2001 From: Marie Date: Fri, 26 Jan 2024 01:39:53 +0100 Subject: [PATCH] fix: allow viewing of muted users posts This would allow admins and mods to see muted users posts as well as normal users to view them if they ever get a link sent to them. --- packages/backend/src/server/api/endpoints/notes/children.ts | 1 - packages/backend/src/server/api/endpoints/notes/show.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/backend/src/server/api/endpoints/notes/children.ts b/packages/backend/src/server/api/endpoints/notes/children.ts index a16740c81..6e000b206 100644 --- a/packages/backend/src/server/api/endpoints/notes/children.ts +++ b/packages/backend/src/server/api/endpoints/notes/children.ts @@ -74,7 +74,6 @@ export default class extends Endpoint { // eslint- this.queryService.generateVisibilityQuery(query, me); if (me) { - this.queryService.generateMutedUserQuery(query, me); this.queryService.generateBlockedUserQuery(query, me); } diff --git a/packages/backend/src/server/api/endpoints/notes/show.ts b/packages/backend/src/server/api/endpoints/notes/show.ts index b3107f675..9df2966e8 100644 --- a/packages/backend/src/server/api/endpoints/notes/show.ts +++ b/packages/backend/src/server/api/endpoints/notes/show.ts @@ -54,7 +54,6 @@ export default class extends Endpoint { // eslint- this.queryService.generateVisibilityQuery(query, me); if (me) { - this.queryService.generateMutedUserQuery(query, me); this.queryService.generateBlockedUserQuery(query, me); }