Subject: Handle Group Chat invite
hi ,
1. how to handle group chat invite .i got invite in OnMessage event like below .how to handle this and parse the xml .
Invite
Direct Invite
2. how to get the group members list.
1. how to handle group chat invite .i got invite in OnMessage event like below .how to handle this and parse the xml .
Invite
- <message from="groupName@conference.serverid.com" to="suresh@serverid.com" type="normal" xmlns="jabber:client">
- <x xmlns="http://jabber.org/protocol/muc#user">
- <invite from="sender@serverid.com/12138876311421839794675292">
- <reason>Join the group!!!</reason>
- </invite>
- </x>
- <x xmlns="jabber:x:conference" jid="groupName@conference.serverid.com">Join the group!!!</x>
- <body>sender@serverid.com/12138876311421839794675292 invites you to the room groupName@conference.serverid.com (Join the group!!!) </body>
- </message>
Direct Invite
- <message from="sender@serverid.com/QXmpp" to="suresh@serverid.com" type="normal" xmlns="jabber:client">
- <x xmlns="jabber:x:conference" jid="groupName@conference.serverid.com" reason="join room" />
- </message>
2. how to get the group members list.
This post was edited on 2015-01-22, 09:50 by Alex.