Changeset

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
parents 12819:764a4bf2580a
children 12821:a4ac16e5b655
files core/sessionmanager.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;