aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-05-30 13:29:43 +0200
committerKim Alvefur <zash@zash.se>2016-05-30 13:29:43 +0200
commit2d8b98ebaf28aef50b6d7162243a447f1b28da9c (patch)
tree7a5e5f5d3816686987dfb99468fb9f5c0d025c9c
parent6b2c577b2097728507d23a6d2b2fa9207a22df9d (diff)
downloadprosody-2d8b98ebaf28aef50b6d7162243a447f1b28da9c.tar.gz
prosody-2d8b98ebaf28aef50b6d7162243a447f1b28da9c.zip
core.stanza_router: Remove compatibility with Jabiru not including id attribute (originally added in 9b352c8a32e6)
-rw-r--r--core/stanza_router.lua1
1 files changed, 0 insertions, 1 deletions
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;