plugins/mod_compression.lua

changeset 2286
3c17fc919f7b
parent 2284
e0b2d934f316
child 2287
8938265695c9
--- a/plugins/mod_compression.lua	Mon Nov 30 23:25:10 2009 +0100
+++ b/plugins/mod_compression.lua	Tue Dec 01 00:10:47 2009 +0100
@@ -161,7 +161,7 @@
 				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("<?xml version='1.0'?>");
 			session.sends2s(st.stanza("stream:stream", default_stream_attr):top_tag());			
 			session.compressed = true;

mercurial