# HG changeset patch # User Mark Doliner # Date 1132008376 0 # Node ID ed60afb9294f13a9c70979f8402c1b0c8f7b5c80 # Parent 980c877bd238451869b57fe99d9ce057eebb78ba [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 diff -r 980c877bd238 -r ed60afb9294f src/connection.c --- 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);