I am trying to get list of MUC Rooms that I am a member of.
I am using MultiUserChatManager.getJoinedRooms(userJabberId);
It always return empty list when calling MultiUserChatManager.getJoinedRoom(user@service/resource).
I looked into the packet created, and it looks like this:
Now, according to the Xmpp docs (XEP-0045: Multi-User Chat ) the packet should looks like this:
It seems in my packet, from attribute is missing, and to attribute should be the MUC ServiceAddress.
My question is:
1. Am I using the correct function (getJoinedRooms) to get the Rooms that i am a member of?
2. If this is the correct function, is there a bug in ServiceDiscoveryManager.getInstanceFor(connection()).discoverItems(user, DISCO_NODE) ?
Any advice is really appreciated!