re: http://j2.openaether.org/bugzilla/show_bug.cgi?id=93

I think I may have found another case that breaks 11.1.4.2:
           For presence stanzas other than those of type "probe", the
           server MUST deliver the stanza to all available resources;
           for presence probes, the server SHOULD reply based on the
           rules defined in Presence Probes (Section 5.1.3).  In
           addition, the server MUST NOT rewrite the 'to' attribute
           (i.e., it MUST leave it as <[EMAIL PROTECTED]> rather than change
           it to <[EMAIL PROTECTED]/resource>).

I'm busy testing my irc component, and when I send an unsubscribe from
the component to my user it only goes to the highest resource.

componet:
<presence xmlns="jabber:client" to="[EMAIL PROTECTED]"
from="ircdev.jabber.darkskies.za.net" id="12" type="unsubscribed" />

on highest resource (6):
<presence from="[EMAIL PROTECTED]"
type="unsubscribed" id="12" to="[EMAIL PROTECTED]" />

nothing appears on lowest resource (2) - can't confirm middle resource
because it's at another location.

It seems like the code is only catering for 11.1.5.1, where the
presence stanza would be sent when the user next creates an available
resource (which would of course be the highest).

--
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/

Reply via email to