Mercurial > pidgin.yaz
comparison src/connection.c @ 12272:3ef381cdc47e
[gaim-migrate @ 14574]
This should fix idle time reporting for all accounts. Previously it would
only work for one account because I'm dumb.
We're also doing one idleness check every 5 seconds instead of checking
for each account every 20 seconds.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 30 Nov 2005 06:03:49 +0000 |
parents | 312efb43c49a |
children | a88ca6da0b38 |
comparison
equal
deleted
inserted
replaced
12271:3c6675e1400e | 12272:3ef381cdc47e |
---|---|
302 GaimConvWindow *win = (GaimConvWindow *)wins->data; | 302 GaimConvWindow *win = (GaimConvWindow *)wins->data; |
303 gaim_conversation_update(gaim_conv_window_get_conversation_at(win, 0), | 303 gaim_conversation_update(gaim_conv_window_get_conversation_at(win, 0), |
304 GAIM_CONV_ACCOUNT_ONLINE); | 304 GAIM_CONV_ACCOUNT_ONLINE); |
305 } | 305 } |
306 #endif | 306 #endif |
307 time(&gc->last_sent_time); /* Start the idle count from here */ | |
308 gaim_signal_emit(gaim_connections_get_handle(), "signed-on", gc); | 307 gaim_signal_emit(gaim_connections_get_handle(), "signed-on", gc); |
309 | 308 |
310 serv_set_permit_deny(gc); | 309 serv_set_permit_deny(gc); |
311 | 310 |
312 update_keepalive(gc, TRUE); | 311 update_keepalive(gc, TRUE); |