public void blockUser ( DomainBareJid mucLightService , Jid userJid ) throws NoResponseException , XMPPErrorException , NotConnectedException , InterruptedException { HashMap < Jid , Boolean > users = new HashMap <> ( ) ; users . put ( userJid , false ) ; sendBlockUsers ( mucLightService , users ) ; }
Block a user .