diff options
-rw-r--r-- | plugins/mod_compression.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_compression.lua b/plugins/mod_compression.lua index a08be49a..7805cdf9 100644 --- a/plugins/mod_compression.lua +++ b/plugins/mod_compression.lua @@ -16,7 +16,7 @@ local compression_stream_feature = st.stanza("compression", {xmlns=xmlns_compres module:add_event_hook("stream-features", function (session, features) - if not session.compressed then + if not session.compressed then --FIXME only advertise compression support when TLS layer has no compression enabled features:add_child(compression_stream_feature); end |