mod_rest: Fix tag name in parsing of OOB payloads
... and there too
--- a/mod_rest/jsonmap.lib.lua Sun Mar 07 01:30:42 2021 +0100
+++ b/mod_rest/jsonmap.lib.lua Sun Mar 07 01:35:43 2021 +0100
@@ -228,7 +228,7 @@
};
-- XEP-0066: Out of Band Data
- oob_url = { type = "func", xmlns = "jabber:x:oob", tagname = "query",
+ oob_url = { type = "func", xmlns = "jabber:x:oob", tagname = "x",
-- XXX namespace depends on whether it's in an iq or message stanza
st2json = function (s)
return s:get_child_text("url");