aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-05-30 13:30:53 +0200
committerKim Alvefur <zash@zash.se>2016-05-30 13:30:53 +0200
commit08ef5f83f5a8927a12343faeca914048849bd7b4 (patch)
treeb2f8c6e26bbff9f2127c8acaa140ab5f29d499ca
parentfcca840db8d7c39253869f27fbca736da6c43909 (diff)
parent9dc461298ae6f44f8e0072c7f6580b87aa672272 (diff)
downloadprosody-08ef5f83f5a8927a12343faeca914048849bd7b4.tar.gz
prosody-08ef5f83f5a8927a12343faeca914048849bd7b4.zip
Merge 0.10->trunk
-rw-r--r--core/stanza_router.lua1
-rw-r--r--plugins/mod_s2s/mod_s2s.lua3
2 files changed, 0 insertions, 4 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;
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index c4a3fe23..f5be4f27 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -437,9 +437,6 @@ end
local function handleerr(err) log("error", "Traceback[s2s]: %s", traceback(tostring(err), 2)); end
function stream_callbacks.handlestanza(session, stanza)
- if stanza.attr.xmlns == "jabber:client" then --COMPAT: Prosody pre-0.6.2 may send jabber:client
- stanza.attr.xmlns = nil;
- end
stanza = session.filter("stanzas/in", stanza);
if stanza then
return xpcall(function () return core_process_stanza(session, stanza) end, handleerr);