diff src/protocols/msn/session.h @ 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 40e976d42028
children 187c740f2a4e
line wrap: on
line diff
--- a/src/protocols/msn/session.h	Sun May 25 19:47:13 2003 +0000
+++ b/src/protocols/msn/session.h	Sun May 25 22:51:19 2003 +0000
@@ -27,6 +27,7 @@
 #include "servconn.h"
 #include "switchboard.h"
 #include "user.h"
+#include "group.h"
 
 struct _MsnSession
 {
@@ -44,10 +45,9 @@
 	unsigned int trId;
 
 	MsnUsers *users;
+	MsnGroups *groups;
 
 	GList *switches;
-	GHashTable *group_names; /* ID -> name */
-	GHashTable *group_ids;   /* Name -> ID */
 
 	struct
 	{
@@ -77,6 +77,8 @@
 	/* For moving buddies from one group to another. Ugh. */
 	gboolean moving_buddy;
 	char *dest_group_name;
+	MsnUser *moving_user;
+	MsnGroup *old_group;
 };
 
 /**