From 7f176701d2a3569561ae96ac8796e814d2b5314f Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Tue, 1 Dec 2009 00:10:47 +0100 Subject: mod_compression: Define db (dialback) namespace in stream header. --- plugins/mod_compression.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua index e160faed..3372bd0e 100644 --- a/plugins/mod_compression.lua +++ b/plugins/mod_compression.lua @@ -161,7 +161,7 @@ module:add_handler({"s2sout_unauthed", "s2sout"}, "compressed", xmlns_compressio end; session:reset_stream(); local default_stream_attr = {xmlns = "jabber:server", ["xmlns:stream"] = "http://etherx.jabber.org/streams", - version = "1.0", to = session.to_host, from = session.from_host}; + ["xmlns:db"] = 'jabber:server:dialback', version = "1.0", to = session.to_host, from = session.from_host}; session.sends2s(""); session.sends2s(st.stanza("stream:stream", default_stream_attr):top_tag()); session.compressed = true; -- cgit v1.2.3