powered by Jive Software

IQRouter not sends packet without specifying resource in jid

Why does IQRouter not sends packet without specifying resource in jid ?

This jid

    username@server/resource

works, and this

    username@server

not.

Is there any opportunity to send user a packet? Thanks.

Because IQ stanzas addressed to a bare JID are handled on behalf of the server and are not delivered to the user.

This is specified in XMPP: http://xmpp.org/rfcs/rfc6120.html#rules-local-barejid-userexists

For an IQ stanza, the server MUST handle it directly on behalf of the intended recipient.