Mercurial > pidgin
changeset 18788:550ec02c9135
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.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 03 Aug 2007 05:50:20 +0000 |
parents | 09103d3ba774 |
children | 09082badaa46 42161f9233bf |
files | libpurple/protocols/oscar/oscar.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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); }