mod_ignore_host_chatstates/mod_ignore_host_chatstates.lua
author Matthew Wild <mwild1@gmail.com>
Fri, 23 Sep 2022 22:41:15 +0100
changeset 5058 62480053c87b
parent 3423 aed47ebd26d3
permissions -rw-r--r--
mod_cloud_notify_encrypted: Additional debug logging when enabling/skipping

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