mirror of
https://github.com/bjc/prosody.git
synced 2025-04-07 07:07:38 +03:00
Now outgoing s2s sessions are associated with their from_host, fixes #15
This commit is contained in:
parent
428fc65bbc
commit
22df06d27d
3 changed files with 9 additions and 9 deletions
|
@ -39,7 +39,7 @@ add_handler("s2sin_unauthed", "result", xmlns_dialback,
|
|||
send_s2s(origin.to_host, origin.from_host,
|
||||
format("<db:verify from='%s' to='%s' id='%s'>%s</db:verify>", origin.to_host, origin.from_host,
|
||||
origin.streamid, origin.dialback_key));
|
||||
hosts[origin.from_host].dialback_verifying = origin;
|
||||
hosts[origin.to_host].s2sout[origin.from_host].dialback_verifying = origin;
|
||||
end);
|
||||
|
||||
add_handler({ "s2sout_unauthed", "s2sout" }, "verify", xmlns_dialback,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue