diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-12-03 00:29:44 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-12-03 00:29:44 +0500 |
commit | 77ea58af5a6fb743822319a1bdfd02efc39d5807 (patch) | |
tree | a0cb6a9c41147c51180695d3557003ef8d2c7320 | |
parent | 22067acd9855987804055785606b64d427261677 (diff) | |
download | prosody-77ea58af5a6fb743822319a1bdfd02efc39d5807.tar.gz prosody-77ea58af5a6fb743822319a1bdfd02efc39d5807.zip |
mod_proxy65: Add service discovery identity and feature, to help out mod_disco when loaded on a normal host.
-rw-r--r-- | plugins/mod_proxy65.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_proxy65.lua b/plugins/mod_proxy65.lua index 6fc12554..5b490730 100644 --- a/plugins/mod_proxy65.lua +++ b/plugins/mod_proxy65.lua @@ -117,6 +117,9 @@ function connlistener.ondisconnect(conn, err) 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; |