[Adium-devl] XMPP and Adium: Subscribe/Unsubscribe/Add Roster Item
Evan Schoenberg
evan at adiumx.com
Fri Mar 2 17:44:33 UTC 2007
On Mar 2, 2007, at 11:58 AM, Michael Dippery wrote:
> My question is related to the Subscribe request. If I'm reading the
> Jabber documentation correctly, the Subscribe request asks to
> subscribe to a user's presence information, i.e. whether that user is
> online, offline, away, etc. -- which seems a lot like adding a user
> to one's buddy list in other protocols, such as AIM. So here's my
> question:
>
> 1. Is there a major difference between adding a new roster item and
> subscribing to presence information in Jabber?
> 2. Does Adium handle it differently? Or, if Jabber User A subscribes
> to Jabber User B's presence info, does Adium just add Jabber User B
> to Jabber User A's contact list?
>
> Likewise, does Adium make a difference between removing a user from
> the roster, and unsubscribing from that user's presence information?
This is handled automatically at the libgaim level. Adding a contact
to the contact list (as is done via the Add Contact dialogue) will
automatically send a Subscribe request (which is equivalent to an
"authorization request" on other protocols).
I think that removing a contact removes your subscription
authorization to that contact, but I'm not positive about that. Sean?
-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070302/85e748eb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070302/85e748eb/attachment.sig>
More information about the devel
mailing list