File

mod_ignore_host_chatstates/mod_ignore_host_chatstates.lua @ 5992:bdfb0ed56399

mod_csi_muc_priorities: Fix saving list with only high-priority MUCs (thanks aereaux) Duplicate level of ifs added in 0233da912ab6 on top of d77a61d81555
author Kim Alvefur <zash@zash.se>
date Fri, 20 Sep 2024 18:47:59 +0200
parent 3419:aed47ebd26d3
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);