mod_ignore_host_chatstates/mod_ignore_host_chatstates.lua
author Matthew Wild <mwild1@gmail.com>
Sat, 23 Jan 2021 12:56:17 +0000
changeset 4381 a0f1fb5e7829
parent 3423 aed47ebd26d3
permissions -rw-r--r--
mod_invites: Add ttl to all public creation APIs

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