sessionmanager: Pluck sasl_handler from old session when resuming (fixes #1785)
authorMatthew Wild <mwild1@gmail.com>
Thu, 29 Dec 2022 16:23:08 +0000
changeset 12824 b95771171439
parent 12823 764a4bf2580a
child 12825 a4ac16e5b655
sessionmanager: Pluck sasl_handler from old session when resuming (fixes #1785)
core/sessionmanager.lua
--- 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;