mod_proxy65: Add service discovery identity and feature, to help out mod_disco when...
authorWaqas Hussain <waqas20@gmail.com>
Thu, 2 Dec 2010 19:29:44 +0000 (00:29 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Thu, 2 Dec 2010 19:29:44 +0000 (00:29 +0500)
plugins/mod_proxy65.lua

index 6fc125544aa8ca56a7faedf09544309d350646ba..5b49073071736281f75752a4e54588a293229e08 100644 (file)
@@ -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;