aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-09-07 17:32:55 +0200
committerKim Alvefur <zash@zash.se>2019-09-07 17:32:55 +0200
commit2398f3813579f0f95a14008e1e9f217f60d67bde (patch)
treee7cdf98c887c4e811cffa1030bf118b94e05f6ea
parent1cebbe481be0dbce23f8c7288e091cfb557225d2 (diff)
downloadprosody-2398f3813579f0f95a14008e1e9f217f60d67bde.tar.gz
prosody-2398f3813579f0f95a14008e1e9f217f60d67bde.zip
core.s2smanager: Add map of names authenticate for remote on s2sout for parity with s2sin
Making s2sin and -out look more alike in preparation for bidi support
-rw-r--r--core/s2smanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 45993fd2..971ccc5c 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -47,6 +47,7 @@ local function new_outgoing(from_host, to_host)
host_session.notopen = true;
host_session.direction = "outgoing";
host_session.outgoing = true;
+ host_session.hosts = {};
hosts[from_host].s2sout[to_host] = host_session;
return host_session;
end