mod_ignore_host_chatstates/mod_ignore_host_chatstates.lua
author Matthew Wild <mwild1@gmail.com>
Sat, 24 Sep 2022 08:06:11 +0100
changeset 5060 2583bd7eb5d1
parent 3423 aed47ebd26d3
permissions -rw-r--r--
mod_cloud_notify: Add warnings about options including real body/sender

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