X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=core%2Fstanza_router.lua;h=fb30eef5a6971e4d74905d8c52cace5d5d3fba2b;hb=beb22299c52801aa2a2bed77146b0285438cc707;hp=55c94bf4b51261ebf897f238c3de0c9cede45c3e;hpb=d091b0767be48c0ecc94cf333b6a3cf46c44105e;p=prosody.git diff --git a/core/stanza_router.lua b/core/stanza_router.lua index 55c94bf4..fb30eef5 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -62,7 +62,6 @@ function core_process_stanza(origin, stanza) return handle_unhandled_stanza(origin.host, origin, stanza); end if name == "iq" then - if not stanza.attr.id then stanza.attr.id = ""; end -- COMPAT Jabiru doesn't send the id attribute on roster requests if not iq_types[st_type] or ((st_type == "set" or st_type == "get") and (#stanza.tags ~= 1)) then origin.send(st.error_reply(stanza, "modify", "bad-request", "Invalid IQ type or incorrect number of children")); return;