diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-12-29 16:23:08 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-12-29 16:23:08 +0000 |
commit | 51bf5f2d3414f92b73d54213680c7baac920e04a (patch) | |
tree | 9a1bb64164f8bff34ab92b2914e5fb0f3904deb3 | |
parent | 988990b0b94879bc9c7abf0abcbc2a7ab965f415 (diff) | |
download | prosody-51bf5f2d3414f92b73d54213680c7baac920e04a.tar.gz prosody-51bf5f2d3414f92b73d54213680c7baac920e04a.zip |
sessionmanager: Pluck sasl_handler from old session when resuming (fixes #1785)
-rw-r--r-- | core/sessionmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index cdfd040f..138d4e74 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -116,6 +116,7 @@ local function update_session(to_session, from_session) to_session.filter.session = to_session; to_session.filters = from_session.filters; to_session.send.filter = to_session.filter; + to_session.sasl_handler = from_session.sasl_handler; to_session.stream = from_session.stream; to_session.secure = from_session.secure; to_session.hibernating = nil; |