Mercurial > prosody-modules
comparison mod_http_upload/mod_http_upload.lua @ 1805:25c28644fae8
mod_http_upload: Depend on mod_disco, allows it to be discovered when set up as a component
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 30 Aug 2015 13:38:50 +0200 |
parents | 45f7e3c2557f |
children | abacf6698d97 |
comparison
equal
deleted
inserted
replaced
1804:3228fb928a93 | 1805:25c28644fae8 |
---|---|
13 local join_path = require"util.paths".join; | 13 local join_path = require"util.paths".join; |
14 local uuid = require"util.uuid".generate; | 14 local uuid = require"util.uuid".generate; |
15 | 15 |
16 -- depends | 16 -- depends |
17 module:depends("http"); | 17 module:depends("http"); |
18 module:depends("disco"); | |
18 | 19 |
19 -- namespace | 20 -- namespace |
20 local xmlns_http_upload = "eu:siacs:conversations:http:upload"; | 21 local xmlns_http_upload = "eu:siacs:conversations:http:upload"; |
21 | 22 |
22 module:add_feature(xmlns_http_upload); | 23 module:add_feature(xmlns_http_upload); |