aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-12-10 15:16:49 +0100
committerKim Alvefur <zash@zash.se>2015-12-10 15:16:49 +0100
commit60ccccb95986f320717601ba0c485832d2e753fd (patch)
tree4981a44503409ada58e13e5557eced3769fd5f3b /plugins
parentfe3404124e3dc2ad8284159e72d74842b9f41869 (diff)
downloadprosody-60ccccb95986f320717601ba0c485832d2e753fd.tar.gz
prosody-60ccccb95986f320717601ba0c485832d2e753fd.zip
mod_compression: Remove FIXMEs, mod_c2s and mod_s2s checks if TLS compression is used and sets a flag since 969e0a054795
Diffstat (limited to 'plugins')
-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