# HG changeset patch # User Kim Alvefur # Date 1464366317 -7200 # Node ID 13a8bbf256dd0965a47d0c8cf2aa558ac52e49a5 # Parent 5df3b646c9ad8e92591d539a32fc101e89d9abd2 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) diff -r 5df3b646c9ad -r 13a8bbf256dd mod_storage_xmlarchive/mod_storage_xmlarchive.lua --- 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();