comparison plugins/autorecon.c @ 10738:55af3fa46329

[gaim-migrate @ 12340] Lots of changes here. A lot of it stems from chaning gaim_account_connect() so that it DOES NOT have the GaimStatus parameter. It will attempt to use the GaimStatus of your account from the last time it was connected (which doesn't work quite right yet). My goal here was to save and load each account's GaimStatuses to accounts.xml, so if you were "away" when you signed off then you'll be "away" when you sign back on. Not quite there yet. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 26 Mar 2005 20:08:43 +0000
parents 77ef3f2f0df8
children 8d19e10c187f
comparison
equal deleted inserted replaced
10737:b7f0bc436179 10738:55af3fa46329
138 138
139 if(info) 139 if(info)
140 info->timeout = 0; 140 info->timeout = 0;
141 141
142 gaim_debug(GAIM_DEBUG_INFO, "autorecon", "calling gaim_account_connect\n"); 142 gaim_debug(GAIM_DEBUG_INFO, "autorecon", "calling gaim_account_connect\n");
143 /* XXX: make this remember the status from disconnect */ 143 gaim_account_connect(account);
144 gaim_account_connect(account, gaim_account_get_status(account, "online"));
145 gaim_debug(GAIM_DEBUG_INFO, "autorecon", "done calling gaim_account_connect\n"); 144 gaim_debug(GAIM_DEBUG_INFO, "autorecon", "done calling gaim_account_connect\n");
146 145
147 return FALSE; 146 return FALSE;
148 } 147 }
149 148