I’m trying to find the rooms a user currently occupies (has joined). I’m trying to use XEP-0045 discovery feature with node value of http://jabber.org/protocol/muc#rooms. (See http://xmpp.org/extensions/xep-0045.html#disco-occupant).
Does openfire support this feature? If not are there any other ways to obtain the information?
In my particular instance, I’m using the Smack API MultiUserChat.getJoinedRooms(). This generates the following packet:<query xmlns="http://jabber.org/protocol/disco#items"
Openfire (3.6.2) then returns the following result:
Basically, this empty packet is returned regardless of whether the user is in a room or not.
I’ve downloaded the openfire source and remote debugged it and it appears that the discovery packet doesn’t get processed at all - essentially if the user exists the packet just gets returned to the sender. As such, I have come to the conclusion that openfire simply doesn’t support muc#rooms.
Is this correct? If so, is there any work-around?