Added chat mute and user (de)activation actions to the Mage server console.

This commit is contained in:
LevelX2 2016-10-06 01:09:53 +02:00
parent f51d4f4e0f
commit fae1cb8cce
3 changed files with 27 additions and 5 deletions

View file

@ -778,6 +778,8 @@ public class User {
if (authorizedUser != null) {
authorizedUser.lastConnection = this.connectionTime;
authorizedUser.chatLockedUntil = this.chatLockedUntil;
authorizedUser.lockedUntil = this.lockedUntil;
authorizedUser.active = this.active;
AuthorizedUserRepository.instance.update(authorizedUser);
}
}