Mercurial > pidgin
changeset 7825:d2710b3dcc5c
[gaim-migrate @ 8477]
trippinli was right, i'm an idiot
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 10 Dec 2003 06:45:32 +0000 |
parents | 1663c076a744 |
children | 5ba07997ade3 |
files | src/blist.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/blist.c Wed Dec 10 06:34:11 2003 +0000 +++ b/src/blist.c Wed Dec 10 06:45:32 2003 +0000 @@ -1996,6 +1996,10 @@ else if(strcmp(x->name, "setting")) parse_setting((GaimBlistNode*)contact, x); } + + /* if the contact is empty, don't keep it around. it causes problems */ + if(!((GaimBlistNode*)contact)->child) + gaim_blist_remove_contact(contact); } static void parse_chat(GaimGroup *group, xmlnode *cnode)