diff options
| author | Marie <marie@kaifa.ch> | 2024-01-26 01:39:53 +0100 |
|---|---|---|
| committer | Marie <marie@kaifa.ch> | 2024-01-26 01:39:53 +0100 |
| commit | c8c505fb927e5567fa91ee8e41e9b20121f34743 (patch) | |
| tree | afa830d6e389daf57b664d76d9bd365861b00e4e /packages/backend/src/server/api/endpoints/notes/show.ts | |
| parent | fix: don't show replies to muted users in timelines (diff) | |
| download | sharkey-c8c505fb927e5567fa91ee8e41e9b20121f34743.tar.gz sharkey-c8c505fb927e5567fa91ee8e41e9b20121f34743.tar.bz2 sharkey-c8c505fb927e5567fa91ee8e41e9b20121f34743.zip | |
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.
Diffstat (limited to 'packages/backend/src/server/api/endpoints/notes/show.ts')
| -rw-r--r-- | packages/backend/src/server/api/endpoints/notes/show.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/packages/backend/src/server/api/endpoints/notes/show.ts b/packages/backend/src/server/api/endpoints/notes/show.ts index b3107f6754..9df2966e81 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<typeof meta, typeof paramDef> { // eslint- this.queryService.generateVisibilityQuery(query, me); if (me) { - this.queryService.generateMutedUserQuery(query, me); this.queryService.generateBlockedUserQuery(query, me); } |