comparison libpurple/idle.c @ 22811:7883ed211f3e

Don't try to tell the IM network that we're not idle when we disconnect. This was causing a crash for me in silc when I got disconnected while idle. I'm not really sure why we would want to do this... the commit message was "A patch from Kevin Stange that should fix some idleness problems with MSN and Yahoo" but I couldn't find any more info about that.
author Mark Doliner <mark@kingant.net>
date Fri, 02 May 2008 06:15:33 +0000
parents d1b36a8c920a
children d74ff4f23171
comparison
equal deleted inserted replaced
22809:08bb9d490f38 22811:7883ed211f3e
250 signing_off_cb(PurpleConnection *gc, void *data) 250 signing_off_cb(PurpleConnection *gc, void *data)
251 { 251 {
252 PurpleAccount *account; 252 PurpleAccount *account;
253 253
254 account = purple_connection_get_account(gc); 254 account = purple_connection_get_account(gc);
255 set_account_unidle(account); 255 idled_accts = g_list_remove(idled_accts, account);
256 } 256 }
257 257
258 static void 258 static void
259 idle_reporting_cb(const char *name, PurplePrefType type, gconstpointer val, gpointer data) 259 idle_reporting_cb(const char *name, PurplePrefType type, gconstpointer val, gpointer data)
260 { 260 {