Subject: roster management
Alex,
I am reviewing how my application adds and removes contacts from the roster.
I have looked at the mini client example but I still want to ask these questions:
Is the XmppCon_OnRosterItem callback the place to handle ALL additions or removals from the roster?
Should I be acting on the PresenceType.subscribed and PresenceType.unsubscribe in the XmppCon_OnPresence callback?
Say I want to write a client that automatically accepts invitations. What does the client have to do when it receives an invitation in order to set up a “both” relationship? Where should it issue the ApproveSubscriptionRequest and XmppCon.PresenceManager.Subcribe.
I am not getting exactly how to use the API in this case.
Thanks and Best regards,
I am reviewing how my application adds and removes contacts from the roster.
I have looked at the mini client example but I still want to ask these questions:
Is the XmppCon_OnRosterItem callback the place to handle ALL additions or removals from the roster?
Should I be acting on the PresenceType.subscribed and PresenceType.unsubscribe in the XmppCon_OnPresence callback?
Say I want to write a client that automatically accepts invitations. What does the client have to do when it receives an invitation in order to set up a “both” relationship? Where should it issue the ApproveSubscriptionRequest and XmppCon.PresenceManager.Subcribe.
I am not getting exactly how to use the API in this case.
Thanks and Best regards,