Mercurial > prosody-modules
changeset 6547:cfcd2d2f7119
mod_restrict_federation: Fix attribute check
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 24 May 2026 18:42:43 +0100 |
| parents | 8a4e6421fd24 |
| children | 430584888704 |
| files | mod_restrict_federation/mod_restrict_federation.lua |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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
