Software /
code /
prosody
Changeset
1728:cb4c94b47d53
mod_compression: Fixed: Starting compression only worked before auth
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 02 Sep 2009 19:22:06 +0500 |
parents | 1727:cbdc7bf61e0f |
children | 1729:2876a0ecceab |
files | plugins/mod_compression.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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