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.
This commit is contained in:
Marie 2024-01-26 01:39:53 +01:00
parent 47cf7f6822
commit c8c505fb92
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
2 changed files with 0 additions and 2 deletions

View File

@ -74,7 +74,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
this.queryService.generateVisibilityQuery(query, me); this.queryService.generateVisibilityQuery(query, me);
if (me) { if (me) {
this.queryService.generateMutedUserQuery(query, me);
this.queryService.generateBlockedUserQuery(query, me); this.queryService.generateBlockedUserQuery(query, me);
} }

View File

@ -54,7 +54,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
this.queryService.generateVisibilityQuery(query, me); this.queryService.generateVisibilityQuery(query, me);
if (me) { if (me) {
this.queryService.generateMutedUserQuery(query, me);
this.queryService.generateBlockedUserQuery(query, me); this.queryService.generateBlockedUserQuery(query, me);
} }