public List < Jid > getUsersAndRoomsBlocked ( DomainBareJid mucLightService ) throws NoResponseException , XMPPErrorException , NotConnectedException , InterruptedException { MUCLightBlockingIQ muclIghtBlockingIQResult = getBlockingList ( mucLightService ) ; List < Jid > jids = new ArrayList <> ( ) ; if ( muclIghtBlockingIQResult . getRooms ( ) != null ) { jids . addAll ( muclIghtBlockingIQResult . getRooms ( ) . keySet ( ) ) ; } if ( muclIghtBlockingIQResult . getUsers ( ) != null ) { jids . addAll ( muclIghtBlockingIQResult . getUsers ( ) . keySet ( ) ) ; } return jids ; }
Get users and rooms blocked .