diff mod_http_upload/mod_http_upload.lua @ 2231:131075a3bf0d

mod_http_upload: Add disco identity
author Matthew Wild <mwild1@gmail.com>
date Mon, 04 Jul 2016 10:38:56 +0100
parents e654d6e1fb50
children f1923bf329a3
line wrap: on
line diff
--- 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 {