Mercurial > pidgin
changeset 12089:ed60afb9294f
[gaim-migrate @ 14386]
sf patch #1356626, from Sadrul Habib Chowdhury
"For systems that don't use xscreensaver to detect idle
time, the idle-time is reported incorrectly. The reason
is last_sent_time had not been updated. This patch
resets that field when a new connection is made."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 14 Nov 2005 22:46:16 +0000 |
parents | 980c877bd238 |
children | 34390fe6eced |
files | src/connection.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/connection.c Mon Nov 14 22:41:52 2005 +0000 +++ b/src/connection.c Mon Nov 14 22:46:16 2005 +0000 @@ -305,6 +305,7 @@ GAIM_CONV_ACCOUNT_ONLINE); } #endif + time(&gc->last_sent_time); /* Start the idle count from here */ gaim_signal_emit(gaim_connections_get_handle(), "signed-on", gc); serv_set_permit_deny(gc);