Mercurial > pidgin
diff src/protocols/msn/session.c @ 5518:bf2a7a7b739d
[gaim-migrate @ 5918]
Reworked the group support. You should now be able to delete groups by
dragging a user into them and then back out.
I stress _should_. This will likely have bugs. I cleaned up the ones I
found, I think, but I'm not 100% confident here :) Please test! Preferably
on test accounts, but it won't kill things, just reorder stuff.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 25 May 2003 22:51:19 +0000 |
parents | 04e1e40b99b0 |
children | 187c740f2a4e |
line wrap: on
line diff
--- a/src/protocols/msn/session.c Sun May 25 19:47:13 2003 +0000 +++ b/src/protocols/msn/session.c Sun May 25 22:51:19 2003 +0000 @@ -36,7 +36,8 @@ session->dispatch_server = g_strdup(server); session->dispatch_port = port; - session->users = msn_users_new(); + session->users = msn_users_new(); + session->groups = msn_groups_new(); return session; } @@ -58,12 +59,10 @@ while (session->lists.forward) msn_user_destroy(session->lists.forward->data); - if (session->group_ids) g_hash_table_destroy(session->group_ids); - if (session->group_names) g_hash_table_destroy(session->group_names); - g_slist_free(session->lists.allow); g_slist_free(session->lists.block); + msn_groups_destroy(session->groups); msn_users_destroy(session->users); g_free(session->passport_info.kv);