Mercurial > prosody-modules
view mod_s2s_smacks_timeout/mod_s2s_smacks_timeout.lua @ 5174:354832098f2f
mod_muc_rtbl: move use of "private" attributes to single function
This way, we reduce the scope where you can have a typo in the
attribute name to that function and we encourage users to
actually always call update_hashes.
| author | Jonas Schäfer <jonas@wielicki.name> |
|---|---|
| date | Tue, 21 Feb 2023 21:41:19 +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);
