view mod_s2s_smacks_timeout/mod_s2s_smacks_timeout.lua @ 6431:459cb2c2789b

mod_muc_members_json: Support private MUCs, non-member affiliation grants, async storage, dry-run mode
author Matthew Wild <mwild1@gmail.com>
date Tue, 10 Mar 2026 16:58:17 +0000
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);