# HG changeset patch # User Kim Alvefur # Date 1464607783 -7200 # Node ID 34678ce8a6acff6e100b4fec739ac83fb028d0ef # Parent 0db72fac2faa414544bc9889834aaa58c5d436ff core.stanza_router: Remove compatibility with Jabiru not including id attribute (originally added in 9b352c8a32e6) diff -r 0db72fac2faa -r 34678ce8a6ac core/stanza_router.lua --- a/core/stanza_router.lua Sun May 29 15:57:03 2016 +0200 +++ b/core/stanza_router.lua Mon May 30 13:29:43 2016 +0200 @@ -62,7 +62,6 @@ 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;