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