changeset 1793:152439ca92ee

mod_storage_xmlarchive: Remove redundant stream header
author Kim Alvefur <zash@zash.se>
date Thu, 27 Aug 2015 12:14:40 +0200
parents 8e19b943c2cd
children eefe4b69b5f6
files mod_storage_xmlarchive/mod_storage_xmlarchive.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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;