# HG changeset patch # User Waqas Hussain # Date 1291318184 -18000 # Node ID a7d88f58abbbc7bd3e4e85fc6e2a0a6153aed2d4 # Parent 519f5eadf4b9d998735931e64d43148698d9940f mod_proxy65: Add service discovery identity and feature, to help out mod_disco when loaded on a normal host. diff -r 519f5eadf4b9 -r a7d88f58abbb plugins/mod_proxy65.lua --- a/plugins/mod_proxy65.lua Fri Dec 03 00:22:11 2010 +0500 +++ b/plugins/mod_proxy65.lua Fri Dec 03 00:29:44 2010 +0500 @@ -117,6 +117,9 @@ end end +module:add_identity("proxy", "bytestreams", name); +module:add_feature("http://jabber.org/protocol/bytestreams"); + module:hook("iq-get/host/http://jabber.org/protocol/disco#info:query", function(event) local origin, stanza = event.origin, event.stanza; local reply = replies_cache.disco_info;