From: Kim Alvefur Date: Mon, 30 May 2016 11:30:32 +0000 (+0200) Subject: mod_s2s: Remove compat with namespace issue from Prosody pre-0.6.2 X-Git-Url: https://git.enpas.org/?p=prosody.git;a=commitdiff_plain;h=59ded0b1e35dec21bd5e5207981f28e14e1051f9 mod_s2s: Remove compat with namespace issue from Prosody pre-0.6.2 --- diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua index 16320ad1..f05e2a95 100644 --- a/plugins/mod_s2s/mod_s2s.lua +++ b/plugins/mod_s2s/mod_s2s.lua @@ -434,9 +434,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);