I happened to go near our XEP-0030 code today, and noticed the
following comment:
/* MUST have a to */
My immedaite reaction was that this has to be nonsense - after all, a
C2S session needn't have a to attribute on an <iq/>, it means the
same as the client's own bare jid.
But it's there in the spec, too - section 3.1 has:
"the 'to' address is REQUIRED and MUST contain a valid JID"
Why is this? Should it be there? (For what it's worth, I'm not even
sure it *can* be there - XEP-0030 can't change <iq/> semantics).
Dave.
--
Dave Cridland - mailto:[email protected] - xmpp:[email protected]
- acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
- http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade