mod_bidi/mod_bidi.lua
changeset 1124 689e69df1cc4
parent 1123 0e16e5e2f410
child 1125 901e361af918
--- a/mod_bidi/mod_bidi.lua	Fri Aug 02 18:22:55 2013 +0200
+++ b/mod_bidi/mod_bidi.lua	Sat Aug 03 00:24:12 2013 +0200
@@ -36,7 +36,7 @@
 		bidi_sessions[origin.from_host] = origin;
 	elseif origin.type == "s2sout" then -- handle incoming stanzas correctly
 		local bidi_session = {
-			type = "s2sin";
+			type = "s2sin"; direction = "incoming";
 			is_bidi = true; orig_session = origin;
 			to_host = origin.from_host;
 			from_host = origin.to_host;