Software /
code /
prosody-modules
Diff
mod_storage_xmlarchive/mod_storage_xmlarchive.lua @ 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 |
parent | 2054:b7c528027762 |
child | 2271:b34f4591366a |
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();