diff --git a/packages/backend/src/core/UserBlockingService.ts b/packages/backend/src/core/UserBlockingService.ts index ca57857eb1..4ef1a60335 100644 --- a/packages/backend/src/core/UserBlockingService.ts +++ b/packages/backend/src/core/UserBlockingService.ts @@ -66,7 +66,6 @@ export class UserBlockingService implements OnModuleInit { @bindThis public async block(blocker: MiUser, blockee: MiUser, silent = false) { - // フォロー解除できない(=ブロックもできない)ユーザーの場合 if ( this.serverSettings.forciblyFollowedUsers.includes(blockee.id) && diff --git a/packages/backend/src/core/UserFollowingService.ts b/packages/backend/src/core/UserFollowingService.ts index 5e980f27af..d2afade4dd 100644 --- a/packages/backend/src/core/UserFollowingService.ts +++ b/packages/backend/src/core/UserFollowingService.ts @@ -374,7 +374,6 @@ export class UserFollowingService implements OnModuleInit { }, silent = false, ): Promise { - // フォロー解除できないユーザーの場合 if ( this.meta.forciblyFollowedUsers.includes(followee.id) && diff --git a/packages/backend/src/core/UserMutingService.ts b/packages/backend/src/core/UserMutingService.ts index 504b7e0e1b..f4ad9e02bb 100644 --- a/packages/backend/src/core/UserMutingService.ts +++ b/packages/backend/src/core/UserMutingService.ts @@ -32,7 +32,6 @@ export class UserMutingService { @bindThis public async mute(user: MiUser, target: MiUser, expiresAt: Date | null = null): Promise { - // フォロー解除できない(=ミュートもできない)ユーザーの場合 if ( this.serverSettings.forciblyFollowedUsers.includes(target.id) && diff --git a/packages/backend/src/core/UserRenoteMutingService.ts b/packages/backend/src/core/UserRenoteMutingService.ts index 1f5c311e3b..ccba91879e 100644 --- a/packages/backend/src/core/UserRenoteMutingService.ts +++ b/packages/backend/src/core/UserRenoteMutingService.ts @@ -34,7 +34,6 @@ export class UserRenoteMutingService { @bindThis public async mute(user: MiUser, target: MiUser, expiresAt: Date | null = null): Promise { - // フォロー解除できない(=リノートミュートもできない)ユーザーの場合 if ( this.serverSettings.forciblyFollowedUsers.includes(target.id) &&