Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 11643:eb14bbcf7249
[gaim-migrate @ 13920]
sf patch #1293063, from John Bailey
Move and rename some functions from server.c to the account API.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 12 Oct 2005 02:47:31 +0000 |
parents | fd74e7b67682 |
children | 723487d07aa0 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Wed Oct 12 02:27:32 2005 +0000 +++ b/src/protocols/oscar/oscar.c Wed Oct 12 02:47:31 2005 +0000 @@ -6754,6 +6754,7 @@ if (od->sess->ssi.received_data) { if (aim_ssi_itemlist_finditem(od->sess->ssi.local, group->name, NULL, AIM_SSI_TYPE_GROUP)) { GList *cur, *groups = NULL; + GaimAccount *account = gaim_connection_get_account(gc); /* Make a list of what the groups each buddy is in */ for (cur = moved_buddies; cur != NULL; cur = cur->next) { @@ -6764,8 +6765,8 @@ node->parent->parent); } - serv_remove_buddies(gc, moved_buddies, groups); - serv_add_buddies(gc, moved_buddies); + gaim_account_remove_buddies(account, moved_buddies, groups); + gaim_account_add_buddies(account, moved_buddies); g_list_free(groups); gaim_debug_info("oscar", "ssi: moved all buddies from group %s to %s\n", old_name, group->name);