[Adium-devl] XMPP and Adium: Subscribe/Unsubscribe/Add Roster Item

Michael Dippery mdippery at bucknell.edu
Fri Mar 2 16:58:49 UTC 2007


Hello,

I am implementing support for handling xmpp: URIs, as requested in  
this forum post <http://forums.cocoaforge.com/viewtopic.php?t=12166>  
and specified in XEP-0147 <http://www.xmpp.org/extensions/ 
xep-0147.html>. However, I'm not yet an expert on all aspects of  
Jabber, including some of its terminology, and I have a question.

The document describes a URI mechanism for adding a roster item,  
which seems straightforward enough. I'm handling it by having Adium  
display the Add New Contact prompt, with as much information (Jabber  
ID and first available Jabber service) filled in as possible by default.

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?


Regards,



--
Michael Dippery
mdippery at bucknell.edu






More information about the devel mailing list