On 11/18/09 4:21 AM, Valentin Chartier wrote:
>> IQ stanzas sent to a room's bare JID are intended for the room itself,
>> not for occupants. The only way to send a custom IQ to all occupants is
>> to send it to all occupants..
> 
> Thanks Waqas
> The XEP would be clearer if it could state it like you just did.
> :)
> 
>> It's the same in one-to-one chat.
>> IQs sent to a user's bare JID are not sent to the user's resources.
>> See the stanza processing rules in RFC 3921.
> 
> Absolutely, RFC 3921 [XMPP:IM] $11.1.4.3 "... if the JID is of the form
> <u...@domain> and there is at least one available resource available for
> the user ...  For IQ stanzas, the server itself MUST reply on behalf of
> the user with either an IQ result or an IQ error, and MUST NOT deliver
> the IQ stanza to any of the available resources."
> 
> I wasn't able to imply from RFC 3920 [XMPP:Core] $9.2.3 IQ Semantics
> "Info/Query, or IQ, is a request-response mechanism...." which leaves me
> which a feeling that RFC 3920 [XMPP:Core] $9.2.3 is not telling
> everything about IQ semantics.

Please always refer to the most recent Internet-Draft for the best
definitions. IIRC we clarified this in rfc3920bis and rfc3921bis:

http://tools.ietf.org/html/draft-ietf-xmpp-3920bis

http://tools.ietf.org/html/draft-ietf-xmpp-3921bis

But I would be happy to clarify this in XEP-0045.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to