mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_saslauth, mod_compression: Fix some cases where open_stream() was not being passed to/from (see df3c78221f26 and issue #338)
This commit is contained in:
parent
c596e86388
commit
073282787b
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ module:hook_stanza(xmlns_sasl, "success", function (session, stanza)
|
|||
module:log("debug", "SASL EXTERNAL with %s succeeded", session.to_host);
|
||||
session.external_auth = "succeeded"
|
||||
session:reset_stream();
|
||||
session:open_stream();
|
||||
session:open_stream(session.from_host, session.to_host);
|
||||
|
||||
module:fire_event("s2s-authenticated", { session = session, host = session.to_host });
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue