ejabberd - Comments for "Disabling pubsub discovery" https://www.ejabberd.im/node/4170 en ondrej wrote: Is it possible https://www.ejabberd.im/node/4170#comment-56455 <div class="quote-msg"> <div class="quote-author"><em>ondrej</em> wrote:</div> <p>Is it possible to disable support for discovery at the pubsub service level? </p></div> <p>Yes. In the file src/mod_pubsub/mod_pubsub.erl remove the lines:</p> <pre> ejabberd_hooks:add(disco_sm_identity, ServerHost, ?MODULE, disco_sm_identity, 75), ejabberd_hooks:add(disco_sm_features, ServerHost, ?MODULE, disco_sm_features, 75), ejabberd_hooks:add(disco_sm_items, ServerHost, ?MODULE, disco_sm_items, 75), </pre><p> Then compile, install and restart ejabberd.</p> Wed, 28 Jul 2010 09:46:21 +0000 mfoss comment 56455 at https://www.ejabberd.im