Mercurial > pidgin
changeset 18428:1dbd8ce2f11f
Fix a bug where buddies from offline accounts were showing up.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 03 Jul 2007 15:56:24 +0000 |
parents | be8c4eba38f6 |
children | 10af8f0ccb6b f5a17e7e4bfa |
files | finch/gntblist.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntblist.c Tue Jul 03 11:20:33 2007 +0000 +++ b/finch/gntblist.c Tue Jul 03 15:56:24 2007 +0000 @@ -590,6 +590,9 @@ if (node->ui_data) return; + if (!purple_account_is_connected(buddy->account)) + return; + contact = (PurpleContact*)node->parent; if (!contact) /* When a new buddy is added and show-offline is set */ return; @@ -2135,7 +2138,7 @@ purple_prefs_set_string(PREF_ROOT "/sort_type", n); } -/* XXX: send_im_select* -- Xerox */ +/* send_im_select* -- Xerox */ static void send_im_select_cb(gpointer data, PurpleRequestFields *fields) {