view mod_ignore_host_chatstates/mod_ignore_host_chatstates.lua @ 4960:59bedf167910

mod_muc_ping: Remove since Prosody mod_muc 0.11+ covers this natively See trunk rev 7c1cdf5f9f83 and trunk rev 224e681c4db2
author Kim Alvefur <zash@zash.se>
date Mon, 13 Jun 2022 14:25:39 +0200
parents aed47ebd26d3
children
line wrap: on
line source

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