Is there any predefined method in XMPP to get the number of rooms already present on the openfire server. I have made a thorough search but I am unable to get the good and working answer.
Please let me know how can I get the rooms available on openfire server ( already created ).
The code
boolean supports = MultiUserChat.isServiceEnabled(conn, "user3@host.org/Smack");
is returning a NUll pointer.