Mercurial > pidgin.yaz
diff finch/gntblist.c @ 18490:095718d51209
Chats aren't shown if their account is offline, so a group of offline chats shouldn't be either
author | Richard Nelson <wabz@pidgin.im> |
---|---|
date | Wed, 11 Jul 2007 23:17:22 +0000 |
parents | 6d8aed4adcd6 |
children | 0cb139b20d65 |
line wrap: on
line diff
--- a/finch/gntblist.c Wed Jul 11 20:35:48 2007 +0000 +++ b/finch/gntblist.c Wed Jul 11 23:17:22 2007 +0000 @@ -139,7 +139,8 @@ { PurpleBlistNode *node; for (node = ((PurpleBlistNode*)group)->child; node; node = node->next) { - if (PURPLE_BLIST_NODE_IS_CHAT(node)) + if (PURPLE_BLIST_NODE_IS_CHAT(node) && + purple_account_is_connected(((PurpleChat *)node)->account)) return TRUE; else if (is_contact_online((PurpleContact*)node)) return TRUE;