comparison src/blist.c @ 6945:ed14dda65d8e

[gaim-migrate @ 7492] don't remove a bunch of contacts when an account goes offline committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 24 Sep 2003 15:37:07 +0000
parents 5ace3b44cf61
children a084d95d59dc
comparison
equal deleted inserted replaced
6944:a2d19d4da944 6945:ed14dda65d8e
1398 1398
1399 ((GaimBuddy*)bnode)->uc = 0; 1399 ((GaimBuddy*)bnode)->uc = 0;
1400 ((GaimBuddy*)bnode)->idle = 0; 1400 ((GaimBuddy*)bnode)->idle = 0;
1401 ((GaimBuddy*)bnode)->evil = 0; 1401 ((GaimBuddy*)bnode)->evil = 0;
1402 1402
1403 gaim_contact_compute_priority_buddy((GaimContact*)cnode);
1404
1403 if(ops) 1405 if(ops)
1404 ops->remove(gaimbuddylist, bnode); 1406 ops->remove(gaimbuddylist, bnode);
1405 } 1407 }
1406 } 1408 }
1407 gaim_contact_compute_priority_buddy((GaimContact*)cnode);
1408 } else if(GAIM_BLIST_NODE_IS_CHAT(cnode) && 1409 } else if(GAIM_BLIST_NODE_IS_CHAT(cnode) &&
1409 ((GaimBlistChat*)cnode)->account == account) { 1410 ((GaimBlistChat*)cnode)->account == account) {
1410 ((GaimGroup*)gnode)->currentsize--; 1411 ((GaimGroup*)gnode)->currentsize--;
1411 ((GaimGroup*)gnode)->online--; 1412 ((GaimGroup*)gnode)->online--;
1412 if(ops) 1413 if(ops)