Mercurial > pidgin
changeset 6957:166e42b26654
[gaim-migrate @ 7504]
might as well speed up signoff while i'm at it
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 24 Sep 2003 23:28:03 +0000 |
parents | a084d95d59dc |
children | 4c29ee932d67 |
files | src/blist.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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--;