I know I can retrieve a list of public rooms from my server using:
<iq from='[email protected]/pda'
id='zb8q41f4'
to='chat.shakespeare.lit'
type='get'>
<query xmlns='http://jabber.org/protocol/disco#items'/>
</iq>
However, I need a list of all rooms, regardless whether is public or private, and if is online of not.
Any suggestions, specially through XML?
When a MUC admin requests the list of rooms, he gets all the rooms, including the private ones.
You can also get the full list of rooms with this ejabberd command:
Those commands can be executed with XML-RPC or ReST calls if you enable the corresponding modules.