Changeset

13008:7b952553bd60

sessionmanager: Preserve 'since' property of original session after resumption
author Matthew Wild <mwild1@gmail.com>
date Wed, 29 Mar 2023 13:01:53 +0100
parents 13007:534c055ec378
children 13009:a70ff0c524c9
files core/sessionmanager.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/core/sessionmanager.lua	Wed Mar 29 13:01:28 2023 +0100
+++ b/core/sessionmanager.lua	Wed Mar 29 13:01:53 2023 +0100
@@ -104,6 +104,7 @@
 		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;