diff --git a/packages/backend/src/core/QueryService.ts b/packages/backend/src/core/QueryService.ts index bd9248ecf4..1cca99d452 100644 --- a/packages/backend/src/core/QueryService.ts +++ b/packages/backend/src/core/QueryService.ts @@ -166,7 +166,7 @@ export class QueryService { // For moderation purposes, you can set isSilenced to forcibly hide existing posts by a user. @bindThis public generateVisibilityQuery(q: SelectQueryBuilder, me?: { id: MiUser['id'] } | null): SelectQueryBuilder { - // This code must always be synchronized with the checks in Notes.isVisibleForMe. + // This code must always be synchronized with the checks in NoteEntityService.isVisibleForMe. return q.andWhere(new Brackets(qb => { // Public post qb.orWhere('note.visibility = \'public\'')