Mercurial > pidgin.yaz
diff finch/gntblist.c @ 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 | 2d4df5ef0090 |
children | ecb223f9f75b dd115c8f0880 |
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) {