Changeset

2183:13a8bbf256dd

mod_storage_xmlarchive: Pass a default namespace to xmppstream so result items default to xmlns = nil (fixes non-mam use, like mod_mam_muc sending history)
author Kim Alvefur <zash@zash.se>
date Fri, 27 May 2016 18:25:17 +0200
parents 2182:5df3b646c9ad
children 2184:7155ed1fb540
files mod_storage_xmlarchive/mod_storage_xmlarchive.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua	Thu May 26 15:36:19 2016 +0200
+++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua	Fri May 27 18:25:17 2016 +0200
@@ -61,7 +61,7 @@
 	end
 
 	local stream_sess = { notopen = true };
-	local stream = new_stream(stream_sess, { handlestanza = cb, stream_ns = "jabber:client"});
+	local stream = new_stream(stream_sess, { handlestanza = cb, stream_ns = "jabber:client", default_ns = "jabber:client" });
 	local dates = dm.list_load(username, module.host, self.store) or empty;
 	local function reset_stream()
 		stream:reset();