Hi, When messages of type 'groupchat' and 'error' are sent to a non-existing resource, they are routed to the set of highest priority available resources. IMHO this behaviour in counter-intuitive. I don't see why an unintended resource would want a groupchat or error message, or how it's supposed to deal with it. Also note that the 'to' attribute gets overwritten, so the recieving resource doesn't even know to which resource the messages were originally directed. Could someone describe some cases where this is useful?
Relevent rfc3921bis-07 sections: 8.2.2. No Resource Matches <http://xmpp.org/internet-drafts/draft-saintandre-rfc3921bis-07.html#rules-fulljid-nomatch> "For a message stanza, the server SHOULD treat the stanza as if it were addressed to <u...@domain> as described in the next section (but without modifying the value of the 'to' attribute)." 8.3.1.1. Message <http://xmpp.org/internet-drafts/draft-saintandre-rfc3921bis-07.html#rules-barejid-resource-message> "For a message stanza of type "chat", "error", "groupchat", or "normal", the server SHOULD deliver the stanza to the highest-priority available resource." -- Waqas Hussain
