Mercurial > pidgin
diff src/connection.c @ 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 | aadf61b30056 |
| children | 312efb43c49a |
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);
