code: public void blockRooms(DomainBareJid mucLightService, List<Jid> roomsJids)
              throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
          HashMap<Jid, Boolean> rooms = new HashMap<>();
          for (Jid jid : roomsJids) {
              rooms.put(jid, false);
          }
          sendBlockRooms(mucLightService, rooms);
      }
docs: Block rooms.
  
  @param mucLightService
  @param roomsJids
  @throws NoResponseException
  @throws XMPPErrorException
  @throws NotConnectedException
  @throws InterruptedException