mod_restrict_xmpp: Allow all XEP-0199 pings to self
No permission to send a ping without a 'to' attribute?
--- a/mod_restrict_xmpp/mod_restrict_xmpp.lua Mon Dec 04 00:08:27 2023 +0100
+++ b/mod_restrict_xmpp/mod_restrict_xmpp.lua Mon Dec 04 00:23:19 2023 +0100
@@ -78,6 +78,7 @@
local payload = stanza.tags[1];
local ns = payload and payload.attr.xmlns;
+ if ns == "urn:xmpp:ping" then return end
local proto = iq_namespaces[ns];
if proto == "pep" then
local pubsub = payload:get_child("pubsub", "http://jabber.org/protocol/pubsub");