public void grantModerator ( Resourcepart nickname ) throws XMPPErrorException , NoResponseException , NotConnectedException , InterruptedException { changeRole ( nickname , MUCRole . moderator , null ) ; }
Grants moderator privileges to a participant or visitor . Room administrators may grant moderator privileges . A moderator is allowed to kick users grant and revoke voice invite other users modify room s subject plus all the partcipants privileges .