mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Add session_last_attached time and format, from Sina Siadat.
This commit is contained in:
parent
67ee995cc1
commit
cfabe30bec
7 changed files with 15 additions and 0 deletions
|
|
@ -129,6 +129,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq)
|
|||
c->session = s;
|
||||
status_timer_start(c);
|
||||
session_update_activity(s, NULL);
|
||||
gettimeofday(&s->last_attached_time, NULL);
|
||||
|
||||
recalculate_sizes();
|
||||
server_check_unattached();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue