Software /
code /
prosody-modules
Changeset
3479:9ef309fb501d
mod_smacks: apply resumed logger and type to new session, fix #1229
author | Georg Lukas <georg@op-co.de> |
---|---|
date | Wed, 06 Mar 2019 21:51:45 +0100 |
parents | 3478:f6319346e2a3 |
children | 3480:5911030a1a66 |
files | mod_smacks/mod_smacks.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);