# HG changeset patch # User Nathan Walp # Date 1051817670 0 # Node ID 1dcdc2504849a1a327cd52c14efea7d067bba140 # Parent d7771fe33cbd9a8f634294fa1e431be0e9160300 [gaim-migrate @ 5650] let chats participate in the O(1) group number goodness committer: Tailor Script diff -r d7771fe33cbd -r 1dcdc2504849 src/blist.c --- 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)