# HG changeset patch # User Elliott Sales de Andrade # Date 1244175190 0 # Node ID 005d20d58ac75496459010484c3f46b7b6722d8b # Parent e6031586fd1b16fbc2684995d5027a78cee2bfc5 Patch to change around some logic that should fix missing buddies that are set to "show when offline". Fixes #9288 and #4606. diff -r e6031586fd1b -r 005d20d58ac7 pidgin/gtkblist.c --- 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); }