Mercurial > prosody-modules
view mod_s2s_smacks_timeout/mod_s2s_smacks_timeout.lua @ 5873:a88c43de648c
mod_privilege: Fix IQ privileges advertising for multiple namespaces
Before this fix, the namespaces element were wrongly nested.
author | nicoco <nicoco@nicoco.fr> |
---|---|
date | Fri, 22 Mar 2024 11:02:04 +0100 |
parents | f0fe95f9e21c |
children |
line wrap: on
line source
module:depends("smacks"); module:hook("smacks-ack-delayed", function (event) if event.origin.type == "s2sin" or event.origin.type == "s2sout" then event.origin:close("connection-timeout"); return true; end end);