powered by Jive Software

Invite user to chat room


I can invite a user to a chat room easily using: chatRoom.invite(jid, reason)…

However, I’‘m trying to find out what happens when an external Jabber IM client tries to invite me to a chat room. I have found some unofficial docs which say that there is an event which fires on incoming invite. But looking through the classes this doesn’'t seem true.

I recieve the request via my message event. The XML that comes back is the following:

Does XIFF have any built in methods or a way of going about getting the room name and ivite from. Or do I have to strip the XML myself??

Also has anyone had any experience inviting legacy IM users to a chatroom via an existing transport? Is this possible or am I wasting my time trying to figure out how it works??

Any help regarding this would be greatly appreciated!!