Diff

core/stanza_router.lua @ 7450:3ae19750cd46

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Mon, 30 May 2016 13:30:53 +0200
parent 7448:34678ce8a6ac
child 7648:d91ef1e6afc2
line wrap: on
line diff
--- a/core/stanza_router.lua	Mon May 30 13:17:28 2016 +0200
+++ b/core/stanza_router.lua	Mon May 30 13:30:53 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;