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 | 8101afcd522579a05ac9286353397a417e6165b9 (patch) | |
tree | c05014e9ee3691538a2c57894b8610faa9052ecd /plugins | |
parent | c7a7538ac0b5966387e4680db72a71027b81be7e (diff) | |
download | prosody-8101afcd522579a05ac9286353397a417e6165b9.tar.gz prosody-8101afcd522579a05ac9286353397a417e6165b9.zip |
mod_proxy65: Add service discovery identity and feature, to help out mod_disco when loaded on a normal host.
Diffstat (limited to 'plugins')
-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; |