changeset 2231:131075a3bf0d

mod_http_upload: Add disco identity
author Matthew Wild <mwild1@gmail.com>
date Mon, 04 Jul 2016 10:38:56 +0100 (2016-07-04)
parents 42eafc1c61d9
children 836b36d8bfd2
files mod_http_upload/mod_http_upload.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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 {