powered by Jive Software

How to get the subject and description of a room?

I use the Browser.getServiceItems to enumerate all the rooms and succeeded to get room name and room jid, but how can i get the subject and description of a room? Besides, the subject of a room can be changed by Room.changeSubject(), but how to set the description?


When the user logs in (whether anonymous or non-anonymous) RoomEvent.SUBJECT_CHANGE event is fired and if you listen to it the object will give you room subject as well as it will keep on updating u whnever subject changes.

No clue on description. I suggest check the events.

Our team here is looking into this as well, I believe to get the additional details fro description I think some work needs to be done on support for XEP-0004 (http://xmpp.org/extensions/xep-0004.html). Keep in touch and let me know how you get on and we’ll do the same.