Comparison

mod_http_upload/mod_http_upload.lua @ 1874:8ef500508c59

mod_http_upload.lua: use official namespace from XEP-0363
author Michael Töglhofer <michael@toeglhofer.net>
date Thu, 24 Sep 2015 07:22:11 +0200
parent 1851:03c5639882a7
child 1905:43fac0c2c772
comparison
equal deleted inserted replaced
1873:9283a6bcf512 1874:8ef500508c59
22 -- depends 22 -- depends
23 module:depends("http"); 23 module:depends("http");
24 module:depends("disco"); 24 module:depends("disco");
25 25
26 -- namespace 26 -- namespace
27 local xmlns_http_upload = "eu:siacs:conversations:http:upload"; 27 local xmlns_http_upload = "urn:xmpp:http:upload";
28 28
29 module:add_feature(xmlns_http_upload); 29 module:add_feature(xmlns_http_upload);
30 30
31 -- state 31 -- state
32 local pending_slots = module:shared("upload_slots"); 32 local pending_slots = module:shared("upload_slots");