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
commitd2481f9ae6c8080457c742d52ccf8b5dddbd08ad (patch)
tree762d4687697d93bfaf3ad7c0675cdfdd186e8781 /plugins/mod_storage_xep0227.lua
parent12a016b88ac88f942f50ce71a660e032f383beb2 (diff)
downloadprosody-d2481f9ae6c8080457c742d52ccf8b5dddbd08ad.tar.gz
prosody-d2481f9ae6c8080457c742d52ccf8b5dddbd08ad.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