mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 22:57:38 +03:00
mod_s2s: Remove compat with namespace issue from Prosody pre-0.6.2
This commit is contained in:
parent
2d8b98ebaf
commit
9dc461298a
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue