# HG changeset patch # User Tobias Markmann # Date 1250153876 -7200 # Node ID 250bddde4162f09a89a3ef6234adc589e404c91c # Parent 5f81cd6d4a927500e2802dfe59e7d14955363e20 Add a TODO for s2s compression support. diff -r 5f81cd6d4a92 -r 250bddde4162 plugins/mod_compression.lua --- a/plugins/mod_compression.lua Thu Aug 13 10:21:32 2009 +0200 +++ b/plugins/mod_compression.lua Thu Aug 13 10:57:56 2009 +0200 @@ -17,12 +17,13 @@ module:add_event_hook("stream-features", function (session, features) if not session.compressed then - --FIXME only advertise compression support when TLS layer has no compression enabled + -- FIXME only advertise compression support when TLS layer has no compression enabled features:add_child(compression_stream_feature); end end ); +-- TODO Support compression on S2S level too. module:add_handler("c2s_unauthed", "compress", xmlns_compression_protocol, function(session, stanza) -- checking if the compression method is supported