mod_ignore_host_chatstates/mod_ignore_host_chatstates.lua
author Stephen Paul Weber <singpolyma@singpolyma.net>
Sun, 25 Feb 2024 19:17:40 -0500
changeset 5850 8b868c00e38e
parent 3423 aed47ebd26d3
permissions -rw-r--r--
mod_muc_adhoc_bots: Fix bug preventing multiple commands from showing

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);