Wed, 02 Sep 2009 19:22:06 +0500
mod_compression: Fixed: Starting compression only worked before auth
plugins/mod_compression.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/mod_compression.lua Thu Aug 20 16:30:32 2009 +0100 +++ b/plugins/mod_compression.lua Wed Sep 02 19:22:06 2009 +0500 @@ -35,7 +35,7 @@ ); -- TODO Support compression on S2S level too. -module:add_handler({"c2s_unauthed", "c2s_authed"}, "compress", xmlns_compression_protocol, +module:add_handler({"c2s_unauthed", "c2s"}, "compress", xmlns_compression_protocol, function(session, stanza) -- fail if we are already compressed if session.compressed then