projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5ac9b31
)
mod_s2s: Remove compat with namespace issue from Prosody pre-0.6.2
author
Kim Alvefur
<zash@zash.se>
Mon, 30 May 2016 11:30:32 +0000
(13:30 +0200)
committer
Kim Alvefur
<zash@zash.se>
Mon, 30 May 2016 11:30:32 +0000
(13:30 +0200)
plugins/mod_s2s/mod_s2s.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_s2s/mod_s2s.lua
b/plugins/mod_s2s/mod_s2s.lua
index 16320ad169afd651a081daaa4d05f23556aead9a..f05e2a95dd09af9906e5913e2959a7bdadc79c82 100644
(file)
--- 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)
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);
stanza = session.filter("stanzas/in", stanza);
if stanza then
return xpcall(function () return core_process_stanza(session, stanza) end, handleerr);