From 3ba321ed7ed7766cbd8cf5aa993ee9f326105c48 Mon Sep 17 00:00:00 2001 From: Per Cederqvist <ceder@lysator.liu.se> Date: Fri, 28 Dec 2001 17:55:44 +0000 Subject: [PATCH] (Session Information): The idle-time is affected only by the user-active request, not by any request. (Bug 197). --- doc/Protocol-A.texi | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/doc/Protocol-A.texi b/doc/Protocol-A.texi index ac23c4e6c..11a709a2a 100644 --- a/doc/Protocol-A.texi +++ b/doc/Protocol-A.texi @@ -2580,8 +2580,10 @@ A client-supplied string saying what the person is currently doing. @item username The name of the ``real'' user (see @type{Who-Info} above.) @item idle-time -@c FIXME (bug 197): should this be user-active-call? -The number of seconds since the last server call. +The number of seconds since @reqdlink{user-active} was used by this +session@linkhere{}, or since the session was created if +@req{user-active} has not been used yet. See also +@field{user-active-used} below. @item connection-time The time when the connection was initiated. This is not the same as the amount of time the person has been on. @@ -2606,7 +2608,10 @@ The user name according to the Ident @daemon{} at the user's machine or ``unknown'' if Ident was not used. @item idle-time -The number of seconds since the last server call. +The number of seconds since @reqdlink{user-active} was used by this +session@linkhere{}, or since the session was created if +@req{user-active} has not been used yet. See also +@field{user-active-used} below. @item connection-time The time when the connection was initiated. This is not the same as the amount of time the person has been on. @@ -2637,8 +2642,11 @@ Sessions where no-one is logged in also have the @field{invisible} flag set. @item user-active-used When true, the @reqdlink{user-active} call@linkhere{} has been issued by -the session, which in turn means that @field{idle-time} field in the -@type{Dynamic-Session-Info} is valid. +the session, which in turn means that @field{idle-time} fields of +@type{Dynamic-Session-Info}, @type{Session-Info} and +@type{Session-Info-Ident} are valid. When false, the +@field{idle-time} fields contains the number of seconds since the +session was created. @item user-absent This flag is currently not used. @end table @@ -2654,8 +2662,10 @@ logged on. @item working-conference The conference the session is currently in. @item idle-time -The number of seconds that have passed since the last time -@reqlink{user-active} was called in the session. +The number of seconds since @reqdlink{user-active} was used by this +session@linkhere{}, or since the session was created if +@req{user-active} has not been used yet. See also +@field{user-active-used} above. @item flags The dynamic session flags (see above.) @item what-am-i-doing -- GitLab