[Standards-JIG] rfc3921bis, RC3

Ian Paterson ian.paterson at clientside.co.uk
Fri Oct 13 18:32:30 UTC 2006

Peter Saint-Andre wrote:
> So, to summarize, I think for directed presence we send empty presence
> if the user is still online and empty unavailable presence if the user
> is now offline. Thus (using the rfc3921bis examples):
> <presence from='romeo at example.net/orchard'
>           to='shakespeare at chat.example.com'/>
> OR
> <presence from='romeo at example.net/orchard'
>           to='shakespeare at chat.example.com'
>           type='unavailable'/>

That's good, just one other thing. Check out Joe's comment about the 
need to include something like an <ignore/> element:

Joe Hildebrand wrote on 2006/10/10:
> I'm not sure how you distinguish between the response to the probe and 
> a client just sending an update, though.  I suppose in response to a 
> probe by someone on the avails list, but not "both" or "from" in the 
> roster, you respond with something like:
> <presence from='user at example.com/resource' 
> to='room at conference.example.com'>
>   <ignore xmlns='http://xmpp.org/protocol/ignore'/>
> </presence>
> or something similar.

That seems like a could solution to me.

- Ian

More information about the Standards mailing list