Mercurial > pidgin
changeset 4754:ced41239ffd3
[gaim-migrate @ 5071]
Delta Dawn, what's that flower you have on?
Could it be a faded rose from days gone by?
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 13 Mar 2003 22:02:12 +0000 |
parents | 7c1db830f57b |
children | 54fbd9769677 |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Thu Mar 13 21:36:02 2003 +0000 +++ b/src/protocols/oscar/oscar.c Thu Mar 13 22:02:12 2003 +0000 @@ -4342,7 +4342,7 @@ debug_printf("ssi: syncing local list and server list\n"); /* Clean the buddy list */ - /* aim_ssi_cleanlist(sess, fr->conn); */ + aim_ssi_cleanlist(sess, fr->conn); /* Add from server list to local list */ tmp = 0; @@ -4356,6 +4356,7 @@ char *alias_utf8 = gaim_try_conv_to_utf8(alias); struct buddy *buddy = gaim_find_buddy(gc->account, curitem->name); /* Should gname be freed here? -- elb */ + /* Not with the current code, but that might be cleaner -- med */ free(alias); if (buddy) { /* Get server stored alias */ @@ -4367,8 +4368,10 @@ struct group *g; buddy = gaim_buddy_new(gc->account, curitem->name, alias_utf8); - if (!(g = gaim_find_group(gname_utf8 ? gname_utf8 : _("Orphans")))) + if (!(g = gaim_find_group(gname_utf8 ? gname_utf8 : _("Orphans")))) { g = gaim_group_new(gname_utf8 ? gname_utf8 : _("Orphans")); + gaim_blist_add_group(g, NULL); + } debug_printf("ssi: adding buddy %s to group %s to local list\n", curitem->name, gname); gaim_blist_add_buddy(buddy, g, NULL);