Changeset

4840:82679fad3a36

Backed out changeset 751510cd558d - obsoleted by 5ef05f32bc42.
author Matthew Wild <mwild1@gmail.com>
date Fri, 11 May 2012 01:29:30 +0100
parents 4835:751510cd558d
children 4841:ce793cea9f10
files plugins/mod_dialback.lua
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_dialback.lua	Wed May 09 02:56:22 2012 +0000
+++ b/plugins/mod_dialback.lua	Fri May 11 01:29:30 2012 +0100
@@ -78,9 +78,6 @@
 		if not origin.from_host then
 			-- Just used for friendlier logging
 			origin.from_host = attr.from;
-			-- COMPAT: Fix ejabberd chopness by resetting the send function
-			origin.log("debug", "Remote server didn't specify a from attr, resetting session.send now that we know where to knock to.");
-			origin.send = function(stanza) hosts[attr.to].events.fire_event("route/remote", { from_host = origin.to_host, to_host = origin.from_host, stanza = stanza}); end
 		end
 		if not origin.to_host then
 			-- Just used for friendlier logging