view mod_ignore_host_chatstates/mod_ignore_host_chatstates.lua @ 5120:83afe4078e6e

mod_s2s_auth_dane: Update Compatibility chart (doesn't work anymore)
author Kim Alvefur <zash@zash.se>
date Sun, 25 Dec 2022 23:00:38 +0100
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);