Merge 0.10->trunk
[prosody.git] / plugins / mod_s2s / mod_s2s.lua
index c4a3fe23b0a038f6a1af24d7d07442bf578ac192..f5be4f273341527ff59f0d81772a111dffc74c34 100644 (file)
@@ -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);