mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 06:37:37 +03:00
Merge 0.7->trunk
This commit is contained in:
commit
ac2c84b749
4 changed files with 47 additions and 5 deletions
|
@ -56,7 +56,7 @@ module:hook_stanza(xmlns_stream, "features",
|
|||
local algorithm = a[1]
|
||||
if algorithm == "zlib" then
|
||||
session.sends2s(st.stanza("compress", {xmlns=xmlns_compression_protocol}):tag("method"):text("zlib"))
|
||||
session.log("info", "Enabled compression using zlib.")
|
||||
session.log("debug", "Enabled compression using zlib.")
|
||||
return true;
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue