From ccb65fee139d73605b660e144a8f67ca6aaccf12 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 19 Nov 2008 23:18:12 +0000 Subject: Fix the reversed to/from on the final db:result. Fixes M-Link and Gmail. Thanks dwd!! --- plugins/mod_dialback.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua index 21769dd9..87ac303b 100644 --- a/plugins/mod_dialback.lua +++ b/plugins/mod_dialback.lua @@ -59,7 +59,7 @@ add_handler({ "s2sout_unauthed", "s2sout" }, "verify", xmlns_dialback, log("warn", "Incoming s2s session %s was closed in the meantime, so we can't notify it of the db result", tostring(origin.dialback_verifying):match("%w+$")); else origin.dialback_verifying.sends2s(format("%s", - attr.from, attr.to, attr.id, valid, origin.dialback_verifying.dialback_key)); + attr.to, attr.from, attr.id, valid, origin.dialback_verifying.dialback_key)); end end end); -- cgit v1.2.3