Disable automatic reply to disco#info queries

Hi,

I’d like to disable the automatic server reply to the disco#info queries.

e.g. if I send this iq stanza

<iq to='application@xmpp.org' type='get'>
     <query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>

I get this reply from the server

<iq type='result' from='application@xmpp.org'  to='explorer@xmpp.org'>
     <query xmlns='http://jabber.org/protocol/disco#info'>
          <identity category='account' type='registered'/>
          <feature var='http://jabber.org/protocol/disco#info'/>
     </query>
</iq>

but I my case the "application@xmpp.org" is an application, that would like to reply itself to the request with something like that:

... ``` ```

Only if use the full JID with resource like

``` ```

…the applicatin is able to receive the query.

Now, here the two questions:

  1. Is it possible to disable the automatic server-reply?
  2. how can the application receive all queries (even if no resource is set)?

Many thanks in advance for your answers!