Mercurial > pidgin.yaz
changeset 5278:1dcdc2504849
[gaim-migrate @ 5650]
let chats participate in the O(1) group number goodness
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 01 May 2003 19:34:30 +0000 |
parents | d7771fe33cbd |
children | 36523a0d8459 |
files | src/blist.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/blist.c Thu May 01 18:24:17 2003 +0000 +++ b/src/blist.c Thu May 01 19:34:30 2003 +0000 @@ -347,6 +347,8 @@ if(cnode->parent->child == cnode) cnode->parent->child = cnode->next; + ((struct group *)((GaimBlistNode *)chat)->parent)->online--; + ops->remove(gaimbuddylist, cnode); save = TRUE; @@ -371,6 +373,8 @@ g->currentsize++; } + ((struct group *)((GaimBlistNode *)chat)->parent)->online++; + if (ops) ops->update(gaimbuddylist, (GaimBlistNode*)cnode); if (save)