mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 06:37:37 +03:00
mod_s2s: Initiate connections
This commit is contained in:
parent
364c78e249
commit
5ddde9afe6
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ function send_to_host(from_host, to_host, stanza)
|
|||
else
|
||||
log("debug", "opening a new outgoing connection for this stanza");
|
||||
local host_session = s2s_new_outgoing(from_host, to_host);
|
||||
s2sout.initiate_connection(host_session);
|
||||
|
||||
-- Store in buffer
|
||||
host_session.bounce_sendq = bounce_sendq;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue