changeset 27112:005d20d58ac7

Patch to change around some logic that should fix missing buddies that are set to "show when offline". Fixes #9288 and #4606.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 05 Jun 2009 04:13:10 +0000
parents e6031586fd1b
children b58672890b3f
files pidgin/gtkblist.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Fri Jun 05 02:58:26 2009 +0000
+++ b/pidgin/gtkblist.c	Fri Jun 05 04:13:10 2009 +0000
@@ -6222,10 +6222,9 @@
 
 	if (count > 0 || purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/blist/show_empty_groups"))
 		show = TRUE;
-	else if (PURPLE_BLIST_NODE_IS_BUDDY(node)) { /* Or chat? */
-		if (buddy_is_displayable((PurpleBuddy*)node))
-			show = TRUE;
-	} else if (!show_offline && PURPLE_BLIST_NODE_IS_GROUP(node)) {
+	else if (PURPLE_BLIST_NODE_IS_BUDDY(node) && buddy_is_displayable((PurpleBuddy*)node)) { /* Or chat? */
+		show = TRUE;
+	} else if (!show_offline) {
 		show = pidgin_blist_group_has_show_offline_buddy(group);
 	}