forciblyFollowedUsers に変更
This commit is contained in:
parent
4a21edacde
commit
52ee21b2ee
12 changed files with 27 additions and 27 deletions
|
|
@ -108,7 +108,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
}
|
||||
|
||||
if (
|
||||
this.serverSettings.permanentFollowedUsers.includes(mutee.id) &&
|
||||
this.serverSettings.forciblyFollowedUsers.includes(mutee.id) &&
|
||||
!await this.roleService.isModerator(muter)
|
||||
) {
|
||||
throw new ApiError(meta.errors.cannotMuteDueToServerPolicy);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue