# HG changeset patch # User Nathan Walp # Date 1064446083 0 # Node ID 166e42b2665490758f54af8f6b53ab4abf0ea8a2 # Parent a084d95d59dcaccce532549997385d01f42790e0 [gaim-migrate @ 7504] might as well speed up signoff while i'm at it committer: Tailor Script diff -r a084d95d59dc -r 166e42b26654 src/blist.c --- a/src/blist.c Wed Sep 24 23:26:32 2003 +0000 +++ b/src/blist.c Wed Sep 24 23:28:03 2003 +0000 @@ -1384,10 +1384,12 @@ continue; for(cnode = gnode->child; cnode; cnode = cnode->next) { if(GAIM_BLIST_NODE_IS_CONTACT(cnode)) { + gboolean recompute = FALSE; for(bnode = cnode->child; bnode; bnode = bnode->next) { if(!GAIM_BLIST_NODE_IS_BUDDY(bnode)) continue; if(account == ((GaimBuddy *)bnode)->account) { + recompute = TRUE; if(((GaimBuddy*)bnode)->present == GAIM_BUDDY_ONLINE || ((GaimBuddy*)bnode)->present == GAIM_BUDDY_SIGNING_ON) { ((GaimContact*)cnode)->online--; @@ -1404,12 +1406,12 @@ ((GaimBuddy*)bnode)->idle = 0; ((GaimBuddy*)bnode)->evil = 0; - gaim_contact_compute_priority_buddy((GaimContact*)cnode); if(ops) ops->remove(gaimbuddylist, bnode); } } + gaim_contact_compute_priority_buddy((GaimContact*)cnode); } else if(GAIM_BLIST_NODE_IS_CHAT(cnode) && ((GaimBlistChat*)cnode)->account == account) { ((GaimGroup*)gnode)->currentsize--;