Mercurial > pidgin.yaz
changeset 6841:f76e26a0e6a9
[gaim-migrate @ 7386]
fix offline contacts
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 14 Sep 2003 21:32:17 +0000 |
parents | b67670ac5584 |
children | bd433a45a463 |
files | src/blist.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/blist.c Sun Sep 14 21:21:32 2003 +0000 +++ b/src/blist.c Sun Sep 14 21:32:17 2003 +0000 @@ -1023,7 +1023,7 @@ if(!GAIM_BLIST_NODE_IS_BUDDY(bnode)) continue; buddy = (GaimBuddy*)bnode; - if(!top) { + if(!top && gaim_account_is_connected(buddy->account)) { top = buddy; } else if(GAIM_BUDDY_IS_ONLINE(buddy)) { if(!GAIM_BUDDY_IS_ONLINE(top)) {