[Standards-JIG] rfc3921bis, RC3

Peter Saint-Andre stpeter at jabber.org
Fri Oct 13 18:48:02 UTC 2006


Ian Paterson wrote:
> 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.

I'm not sure if the recipient cares *why* the user is unavailable, only
*that* they are. I must be missing something...

Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20061013/e7e5d079/attachment.bin>


More information about the Standards mailing list