mod_http_upload: Add disco identity
authorMatthew Wild <mwild1@gmail.com>
Mon, 04 Jul 2016 10:38:56 +0100
changeset 2235 131075a3bf0d
parent 2234 42eafc1c61d9
child 2236 836b36d8bfd2
mod_http_upload: Add disco identity
mod_http_upload/mod_http_upload.lua
--- a/mod_http_upload/mod_http_upload.lua	Sat Jul 02 17:39:30 2016 +0200
+++ b/mod_http_upload/mod_http_upload.lua	Mon Jul 04 10:38:56 2016 +0100
@@ -31,6 +31,7 @@
 -- namespace
 local xmlns_http_upload = "urn:xmpp:http:upload";
 
+module:add_identity("store", "file", module:get_option_string("name", "HTTP File Upload"))
 module:add_feature(xmlns_http_upload);
 
 module:add_extension(dataform {