# HG changeset patch # User Mark Doliner # Date 1047592932 0 # Node ID ced41239ffd36eda41e66747b645b7162cd3c80c # Parent 7c1db830f57b9ea5114d1c6af8e8ccd068431cf2 [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 diff -r 7c1db830f57b -r ced41239ffd3 src/protocols/oscar/oscar.c --- 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);