# HG changeset patch # User Georg Lukas # Date 1551905505 -3600 # Node ID 9ef309fb501d2ff203d2100fbce18c0400420dbc # Parent f6319346e2a3093cf7d668b0d13a8ff9febf9a2a mod_smacks: apply resumed logger and type to new session, fix #1229 diff -r f6319346e2a3 -r 9ef309fb501d mod_smacks/mod_smacks.lua --- a/mod_smacks/mod_smacks.lua Wed Mar 06 21:44:07 2019 +0100 +++ b/mod_smacks/mod_smacks.lua Wed Mar 06 21:51:45 2019 +0100 @@ -522,6 +522,8 @@ original_session.stream = session.stream; original_session.secure = session.secure; original_session.hibernating = nil; + session.log = original_session.log; + session.type = original_session.type; wrap_session(original_session, true); -- Inform xmppstream of the new session (passed to its callbacks) original_session.stream:set_session(original_session);