# HG changeset patch # User Mark Doliner # Date 1186120220 0 # Node ID 550ec02c91350a34aa7ba19262e8559a6f23d1c5 # Parent 09103d3ba77457db2c117f9f1170f3f906f28a81 Only try to add a group locally if it doesn't already exist. This prevents us from reordering your groups to match the order in your server list when you sign on to an oscar account. diff -r 09103d3ba774 -r 550ec02c9135 libpurple/protocols/oscar/oscar.c --- a/libpurple/protocols/oscar/oscar.c Fri Aug 03 05:03:23 2007 +0000 +++ b/libpurple/protocols/oscar/oscar.c Fri Aug 03 05:50:20 2007 +0000 @@ -4964,7 +4964,7 @@ case 0x0001: { /* Group */ char *gname = curitem->name; char *gname_utf8 = gname ? oscar_utf8_try_convert(gc->account, gname) : NULL; - if (gname_utf8 != NULL) { + if (gname_utf8 != NULL && purple_find_group(gname_utf8) == NULL) { g = purple_group_new(gname_utf8); purple_blist_add_group(g, NULL); }