# HG changeset patch # User Kim Alvefur # Date 1431696638 -7200 # Node ID 6a5c6c95cf78387ea276974fe9e88282dd09df7d # Parent 88a25c364a14ee6875f54ee558c841041b9bb74e mod_storage_xep0227: Use the registered namespace diff -r 88a25c364a14 -r 6a5c6c95cf78 plugins/mod_storage_xep0227.lua --- a/plugins/mod_storage_xep0227.lua Fri May 15 15:29:05 2015 +0200 +++ b/plugins/mod_storage_xep0227.lua Fri May 15 15:30:38 2015 +0200 @@ -47,7 +47,7 @@ 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