# HG changeset patch # User Tobias Markmann # Date 1259622647 -3600 # Node ID 3c17fc919f7b326e8fa9457a4b6f62bb359e826e # Parent efea91c740a27931b14f127c25e58fdb73603b83 mod_compression: Define db (dialback) namespace in stream header. diff -r efea91c740a2 -r 3c17fc919f7b plugins/mod_compression.lua --- 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(""); session.sends2s(st.stanza("stream:stream", default_stream_attr):top_tag()); session.compressed = true;