Any body know how to get the chat room list from openfireServer using Asmack library .Help me .
Thanks
Use this to get list of room names that the user has joined:
Iterator roomsJoinedByUser = MultiUserChat.getJoinedRooms(connection, "abc@abc.com");
Use this to get list all hosted rooms:
Collection<HostedRoom> rooms = MultiUserChat.getHostedRooms(connection, "service_name");