aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_xep0227.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-05-15 15:30:38 +0200
committerKim Alvefur <zash@zash.se>2015-05-15 15:30:38 +0200
commitb9384cee946de576e0ac35b21e7924dbe576cdd3 (patch)
tree762d4687697d93bfaf3ad7c0675cdfdd186e8781 /plugins/mod_storage_xep0227.lua
parentf10a0325075702d86c763e3f495f9c35d89801a1 (diff)
downloadprosody-b9384cee946de576e0ac35b21e7924dbe576cdd3.tar.gz
prosody-b9384cee946de576e0ac35b21e7924dbe576cdd3.zip
mod_storage_xep0227: Use the registered namespace
Diffstat (limited to 'plugins/mod_storage_xep0227.lua')
-rw-r--r--plugins/mod_storage_xep0227.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_xep0227.lua b/plugins/mod_storage_xep0227.lua
index f3c6866c..f1410d70 100644
--- a/plugins/mod_storage_xep0227.lua
+++ b/plugins/mod_storage_xep0227.lua
@@ -47,7 +47,7 @@ local function getUserElement(xml)
end
end
local function createOuterXml(user, host)
- return st.stanza("server-data", {xmlns='http://www.xmpp.org/extensions/xep-0227.html#ns'})
+ return st.stanza("server-data", {xmlns='urn:xmpp:pie:0'})
:tag("host", {jid=host})
:tag("user", {name = user});
end