[Adium-devl] Subscribe vs. Subscribed presence messages

Adam Pisoni apisoni at geni.com
Wed Jul 9 16:46:02 UTC 2008


Yes, RFC3921 defines the requirement of clients to send back a  
'subscribed' message.

http://www.xmpp.org/rfcs/rfc3921.html#sub

Check out 6.2

'
When a client receives a subscription request from another entity, it  
MUST either approve the request by sending a presence stanza of type  
"subscribed" or refuse the request by sending a presence stanza of  
type "unsubscribed".

Example: Approving a subscription request:

<presence to='romeo at example.net' type='subscribed'/>

'

thanks,
adam


On Jul 9, 2008, at 7:49 AM, Peter Saint-Andre wrote:

> Presence subscription behavior is described in gory detail in RFC  
> 3921, or more accessibly in rfc3921bis, available here:
>
> http://www.xmpp.org/internet-drafts/
>
> The latest version is -05, but I'll submit -06 soon.
>
> Christopher Forsythe wrote:
>> Is there a jep somewhere that describes how this should behave?
>> Chris
>> On Tue, Jul 8, 2008 at 8:20 PM, Adam Pisoni <apisoni at geni.com <mailto:apisoni at geni.com 
>> >> wrote:
>>    I'm in the middle of developing an open source xmpp4r component
>>    framework and ran into some weird Adium behavior I wanted to ask  
>> this
>>    list about.  Basically, when adium gets a 'subscribe' presence, it
>>    properly prompts the user to accept, but once the user does  
>> accept it
>>    never sends back a 'subscribed' presence (ie confirmation of
>>    subscription).   Is this intentional or am I missing something?
>>    Thanks,
>>    adam
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com





More information about the devel mailing list