Software /
code /
prosody-modules
Diff
mod_storage_xmlarchive/mod_storage_xmlarchive.lua @ 1793:152439ca92ee
mod_storage_xmlarchive: Remove redundant stream header
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 27 Aug 2015 12:14:40 +0200 |
parent | 1765:1a7867eaac9e |
child | 1819:1b08597b5e6f |
line wrap: on
line diff
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Wed Aug 26 18:04:55 2015 +0200 +++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Thu Aug 27 12:14:40 2015 +0200 @@ -80,7 +80,6 @@ local stream_sess = { notopen = true }; local stream = new_stream(stream_sess, { handlestanza = cb, stream_ns = "jabber:client"}); local dates = dm.list_load(username, module.host, self.store) or empty; - stream:feed(st.stanza("stream", { xmlns = "jabber:client" }):top_tag()); local function reset_stream() stream:reset(); stream_sess.notopen = true;