Hello. I writing a chat client for Android and i faced with some requirements.
We use ejabberd server, and we have several public rooms.
I want to know how to fetch list of rooms which has different types.
I mean that i want to fetch not only that rooms where i has been added.
This part of code returns empty collection.
MultiUserChatManager chats = MultiUserChatManager.getInstanceFor(mConnection);
List rooms = chats.getJoinedRooms(mConnection.getUser());