diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-09-02 19:22:06 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-09-02 19:22:06 +0500 |
commit | a212b9c43fc257b5d6a7ff0183910d988f78e78d (patch) | |
tree | a37a9fd227e2468fb3f571d604ac2d90f9e16155 | |
parent | ae3ee66fa190a3c0458ad00fc20470805b3dbf92 (diff) | |
download | prosody-a212b9c43fc257b5d6a7ff0183910d988f78e78d.tar.gz prosody-a212b9c43fc257b5d6a7ff0183910d988f78e78d.zip |
mod_compression: Fixed: Starting compression only worked before auth
-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 7e53a5e5..f1cae737 100644 --- a/plugins/mod_compression.lua +++ b/plugins/mod_compression.lua @@ -35,7 +35,7 @@ module:add_event_hook("stream-features", ); -- 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 |