Skip to content

Commit 7750773

Browse files
committed
Glue was calling shutdown room rather than deactivate user.
1 parent 1fbeda0 commit 7750773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/DeactivateCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ defineInterfaceCommand({
4848
if (!isAdmin) {
4949
return CommandError.Result('I am not a Synapse administrator, or the endpoint to deactivate a user is blocked');
5050
}
51-
await this.mjolnir.shutdownSynapseRoom(targetUser.toString());
51+
await this.mjolnir.deactivateSynapseUser(targetUser.toString());
5252
return CommandResult.Ok(undefined);
5353
},
5454
})

0 commit comments

Comments
 (0)