# HG changeset patch # User Matthew Wild # Date 1686223234 -3600 # Node ID 09311a8a3cfaf10c1a13a985417830cc899ff258 # Parent d84757f9adcbb0dd40b23d923cc97af14f84954d mod_firewall: spam-blocking.pfw: Remove requirement for invites to have no body Some clients (e.g. Gajim) send a body, which I guess makes sense. The bare JID sender check should already make it hard to bypass this (i.e. a normal client putting muc#user into a normal chat message shouldn't bypass the usual message filters). diff -r d84757f9adcb -r 09311a8a3cfa mod_firewall/scripts/spam-blocking.pfw --- a/mod_firewall/scripts/spam-blocking.pfw Thu Jun 08 11:30:39 2023 +0100 +++ b/mod_firewall/scripts/spam-blocking.pfw Thu Jun 08 12:20:34 2023 +0100 @@ -100,7 +100,6 @@ # Mediated MUC invitations are naturally from 'strangers' and have special # handling. We lean towards accepting them, unless overridden by custom rules. NOT FROM FULL JID? -NOT INSPECT: body INSPECT: {http://jabber.org/protocol/muc#user}x/invite JUMP CHAIN=user/spam_check_muc_invite