> 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.