Mercurial > prosody-modules
diff mod_restrict_federation/mod_restrict_federation.lua @ 6547:cfcd2d2f7119
mod_restrict_federation: Fix attribute check
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 24 May 2026 18:42:43 +0100 |
| parents | 981c14bb8975 |
| children |
line wrap: on
line diff
--- 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
