sleekxmpp

XMPP - Roster Subscription Explaination

风格不统一 提交于 2019-12-11 03:08:45
问题 Consider I've 2 users Alice and Bob on my Jabber Server. To add into the rosters with subscription as both , I need to do the following steps: Alice sends a subscription request to Bob. When Bob receives the request, he approves it. Bob may also be interested in Alice's presence, so he subscribes to her. And Alice needs to approve Bob's request. BUT Now consider, Bob was not on the server, i.e. he is unregistered and Alice tries to add him into her roster. Following are the steps which will