aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2009-12-01 00:10:47 +0100
committerTobias Markmann <tm@ayena.de>2009-12-01 00:10:47 +0100
commit7f176701d2a3569561ae96ac8796e814d2b5314f (patch)
tree054fc72237dfdec2ffe48f5eaf1c2438fc25e133 /plugins
parent37ace9243be47afe89013bc44912af491f9b1d9b (diff)
downloadprosody-7f176701d2a3569561ae96ac8796e814d2b5314f.tar.gz
prosody-7f176701d2a3569561ae96ac8796e814d2b5314f.zip
mod_compression: Define db (dialback) namespace in stream header.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_compression.lua2
1 files changed, 1 insertions, 1 deletions
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("<?xml version='1.0'?>");
session.sends2s(st.stanza("stream:stream", default_stream_attr):top_tag());
session.compressed = true;