Changeset

4501:42f43f1383db

mod_rest: Fix tag name in parsing of OOB payloads ... and there too
author Kim Alvefur <zash@zash.se>
date Sun, 07 Mar 2021 01:35:43 +0100
parents 4500:34c0f760f34a
children 4502:48afaec5d1de
files mod_rest/jsonmap.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");