/pidgin/main: 7cc72e162e78: Fixed inconsistency in current size ...

Ankit Vani <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 7cc72e162e784a1c73351a29c884b15e413ac533
Author:	 Ankit Vani <[email protected]>
Date:	 2014-06-12 22:02 +0530
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/7cc72e162e78

Description:

Fixed inconsistency in current size for a group when adding a buddy

diffstat:

 libpurple/buddylist.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/buddylist.c b/libpurple/buddylist.c
--- a/libpurple/buddylist.c
+++ b/libpurple/buddylist.c
@@ -1055,7 +1055,7 @@ void purple_blist_add_buddy(PurpleBuddy 
 	}
 	if (purple_account_is_connected(account)) {
 		purple_counting_node_change_current_size(contact_counter, +1);
-		if (purple_counting_node_get_online_count(contact_counter) == 1)
+		if (purple_counting_node_get_current_size(contact_counter) == 1)
 			purple_counting_node_change_current_size(group_counter, +1);
 	}
 	purple_counting_node_change_total_size(contact_counter, +1);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.