changeset 4845 | f69c5a443156 |
parent 4749 | d29a295cd165 |
child 4892 | dc7c9ae15f43 |
--- a/mod_rest/mod_rest.lua Wed Dec 29 18:31:40 2021 +0100 +++ b/mod_rest/mod_rest.lua Wed Dec 29 19:40:28 2021 +0100 @@ -297,7 +297,7 @@ return post_errors.new("parse", ctx); end - if payload.attr.xmlns then + if (payload.attr.xmlns or "jabber:client") ~= "jabber:client" then return post_errors.new("xmlns"); elseif payload.name ~= "message" and payload.name ~= "presence" and payload.name ~= "iq" then return post_errors.new("name");