Diff

plugins/mod_storage_xep0227.lua @ 6702:6a5c6c95cf78

mod_storage_xep0227: Use the registered namespace
author Kim Alvefur <zash@zash.se>
date Fri, 15 May 2015 15:30:38 +0200
parent 6701:88a25c364a14
child 6703:353a7d4dfdc2
line wrap: on
line diff
--- 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