Changeset

7449:6943b1dd4e3d

mod_s2s: Remove compat with namespace issue from Prosody pre-0.6.2
author Kim Alvefur <zash@zash.se>
date Mon, 30 May 2016 13:30:32 +0200
parents 7448:34678ce8a6ac
children 7450:3ae19750cd46 7453:b1efeee55972
files plugins/mod_s2s/mod_s2s.lua
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Mon May 30 13:29:43 2016 +0200
+++ b/plugins/mod_s2s/mod_s2s.lua	Mon May 30 13:30:32 2016 +0200
@@ -434,9 +434,6 @@
 
 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);