Changeset

3694:a7d88f58abbb

mod_proxy65: Add service discovery identity and feature, to help out mod_disco when loaded on a normal host.
author Waqas Hussain <waqas20@gmail.com>
date Fri, 03 Dec 2010 00:29:44 +0500
parents 3693:519f5eadf4b9
children 3695:d2c4856c7ed5
files plugins/mod_proxy65.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;