# HG changeset patch # User Matthew Wild # Date 1779644563 -3600 # Node ID cfcd2d2f7119707a9da926dbf7b84dff7e84593c # Parent 8a4e6421fd2427b3bac04762371cef7052df1fee mod_restrict_federation: Fix attribute check diff -r 8a4e6421fd24 -r cfcd2d2f7119 mod_restrict_federation/mod_restrict_federation.lua --- a/mod_restrict_federation/mod_restrict_federation.lua Sun May 24 19:17:22 2026 +0200 +++ b/mod_restrict_federation/mod_restrict_federation.lua Sun May 24 18:42:43 2026 +0100 @@ -26,6 +26,7 @@ -- Allow push notification registration if payload.name == "command" and payload.attr.xmlns == "http://jabber.org/protocol/commands" then -- This should allow Tigase and p2 ad-hoc commands to pass through to push gateways + local node = payload.attr.node; if node:match("^register%-") or node:match("^unregister%-") then return; end