aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_compression.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-12-10 18:58:30 +0000
committerMatthew Wild <mwild1@gmail.com>2015-12-10 18:58:30 +0000
commit499d239662bfc5d663335626664adb0500efa5bc (patch)
tree6abe7e628961f73a7f0a5b15d5715ded3345a77a /plugins/mod_compression.lua
parent60a27e378108dfaf2cfec678eaed357f79ced051 (diff)
parent47fd3f55f22d92f1fa2d25097545a6b4a17d3564 (diff)
downloadprosody-499d239662bfc5d663335626664adb0500efa5bc.tar.gz
prosody-499d239662bfc5d663335626664adb0500efa5bc.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_compression.lua')
-rw-r--r--plugins/mod_compression.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua
index da55e5bb..d49e3880 100644
--- a/plugins/mod_compression.lua
+++ b/plugins/mod_compression.lua
@@ -27,14 +27,12 @@ end
module:hook("stream-features", function(event)
local origin, features = event.origin, event.features;
if not origin.compressed and origin.type == "c2s" then
- -- FIXME only advertise compression support when TLS layer has no compression enabled
features:add_child(compression_stream_feature);
end
end);
module:hook("s2s-stream-features", function(event)
local origin, features = event.origin, event.features;
- -- FIXME only advertise compression support when TLS layer has no compression enabled
if not origin.compressed and origin.type == "s2sin" then
features:add_child(compression_stream_feature);
end