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

Ankit Vani a at nevitus.org
Thu Jun 12 12:33:02 EDT 2014


Changeset: 7cc72e162e784a1c73351a29c884b15e413ac533
Author:	 Ankit Vani <a at nevitus.org>
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);



More information about the Commits mailing list