From 51bf5f2d3414f92b73d54213680c7baac920e04a Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 29 Dec 2022 16:23:08 +0000 Subject: sessionmanager: Pluck sasl_handler from old session when resuming (fixes #1785) --- core/sessionmanager.lua | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3