Software /
code /
prosody
Diff
core/sessionmanager.lua @ 12820:b95771171439
sessionmanager: Pluck sasl_handler from old session when resuming (fixes #1785)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 29 Dec 2022 16:23:08 +0000 |
parent | 12677:3b9771d496ed |
child | 12821:a4ac16e5b655 |
line wrap: on
line diff
--- a/core/sessionmanager.lua Wed Dec 28 02:58:15 2022 +0100 +++ b/core/sessionmanager.lua Thu Dec 29 16:23:08 2022 +0000 @@ -116,6 +116,7 @@ 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;