mod_storage_xep0227: Use the registered namespace
authorKim Alvefur <zash@zash.se>
Fri, 15 May 2015 13:30:38 +0000 (15:30 +0200)
committerKim Alvefur <zash@zash.se>
Fri, 15 May 2015 13:30:38 +0000 (15:30 +0200)
plugins/mod_storage_xep0227.lua

index f3c6866ca2126d55f665e460148d9eb3e816df85..f1410d70beb8929541f61f90080f769b87c811d8 100644 (file)
@@ -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