On Thu, Oct 27, 2011 at 10:06 PM, Bala Pitchandi <[email protected]> wrote: > So does that mean, a XMPP client implementation MUST add a presence > subscriber to its roster, if it wants to keep track of its "watchers"?
No - the server will do it all for you, and the client can just fetch its roster to see all the subscription states. /K > > -- Bala > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On > Behalf Of Dave Cridland > Sent: Thursday, October 27, 2011 4:39 PM > To: XMPP Standards; Kevin Smith > Subject: Re: [Standards] Subscribers List > > On Thu Oct 27 21:35:09 2011, Bala Pitchandi wrote: >> I think you misunderstood my question. A client is not required to add >> every user who is a presence subscriber to its roster. For example, I >> might have authorized Romeo to see my presence but not add him to my >> roster. But later on, I would like to know who all have authorizations >> to see my presence. Is there a way to do that in XMPP? I don't believe >> there is. >> >> > I think you've misunderstood what the roster is - it's not a simple > addressbook, the roster is the authority for who is subscribed to your > presence, and who you're subscribed to. > > So removing someone from the roster actually removes their subscription, and > accepting a subscription will place them into the roster if needs be. > > Dave. > -- > Dave Cridland - mailto:[email protected] - xmpp:[email protected] > - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/ > - http://dave.cridland.net/ > Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade >
