# HG changeset patch # User Kim Alvefur # Date 1615077042 -3600 # Node ID 34c0f760f34a618cb3fb7fea4ddd5718cc49d977 # Parent 8e644bf36627b37715dc757f989f1dbbf747e455 mod_rest: Fix the OOB tag name which also differs in messages diff -r 8e644bf36627 -r 34c0f760f34a mod_rest/jsonmap.lib.lua --- a/mod_rest/jsonmap.lib.lua Sun Mar 07 01:26:20 2021 +0100 +++ b/mod_rest/jsonmap.lib.lua Sun Mar 07 01:30:42 2021 +0100 @@ -235,7 +235,7 @@ end; json2st = function (s) if type(s) == "string" then - return st.stanza("query", { xmlns = "jabber:x:oob" }):text_tag("url", s); + return st.stanza("x", { xmlns = "jabber:x:oob" }):text_tag("url", s); end end; };