Subject: How can i get the version of Roster
My Xmpp Server support Roster Version like this:
i can send the ver with XmppClient.RequestRoster() method, but i dont know how to get the version from the iq result.
- <iq xmlns="jabber:client" to="user1@legendapl.com/36b083865d8c4a8880556f665a586eb6" type="result" id="MX_3">
- <query xmlns="jabber:iq:roster" ver="2">
- <item jid="user2@legendapl.com" name="User2" subscription="both">
- <group>MyFriends</group>
- </item>
- <item jid="user3@legendapl.com" name="User3" subscription="both">
- <group>MyFriends</group>
- </item>
- </query>
- </iq>
i can send the ver with XmppClient.RequestRoster() method, but i dont know how to get the version from the iq result.