mod_ignore_host_chatstates/mod_ignore_host_chatstates.lua
author Matthew Wild <mwild1@gmail.com>
Tue, 20 Feb 2024 17:11:42 +0000
changeset 5844 bd0abf821cef
parent 3423 aed47ebd26d3
permissions -rw-r--r--
mod_audit_status: Expose 'crashed' flag

module:hook("message/host", function (event)
	local stanza = event.stanza;
	if #stanza.tags == 1 and stanza.tags[1].attr.xmlns == "http://jabber.org/protocol/chatstates" then
		return true;
	end
end, -10);