diff options
author | Matthew Wild <mwild1@gmail.com> | 2023-03-29 13:01:53 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2023-03-29 13:01:53 +0100 |
commit | 89bf5049a1290fe0dcc0099caca08fe0ab340cae (patch) | |
tree | b00eae005ea52fef6b5c863b4a5b6ee06efedcc7 | |
parent | 75bf9e6eff64fb15f8aea3d423751b5600ba9ca8 (diff) | |
download | prosody-89bf5049a1290fe0dcc0099caca08fe0ab340cae.tar.gz prosody-89bf5049a1290fe0dcc0099caca08fe0ab340cae.zip |
sessionmanager: Preserve 'since' property of original session after resumption
-rw-r--r-- | core/sessionmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 50a78721..ab06e6c0 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -104,6 +104,7 @@ local function update_session(to_session, from_session) replaced_conn:close(); end + to_session.since = from_session.since; to_session.ip = from_session.ip; to_session.conn = from_session.conn; to_session.rawsend = from_session.rawsend; |