diff libpurple/protocols/msn/user.h @ 29347:452043d200f0

Replace guint membership_id[5] with guint member_id_on_pending_list in MsnUser. We were only using this value for MSN_LIST_PL, so don't bother storing it for other list types. Saves the size of 4 pointers per MSN buddy.
author Mark Doliner <mark@kingant.net>
date Wed, 03 Feb 2010 22:19:11 +0000
parents 2a95e8bd9b80
children 99d1b433dba0
line wrap: on
line diff
--- a/libpurple/protocols/msn/user.h	Wed Feb 03 22:02:46 2010 +0000
+++ b/libpurple/protocols/msn/user.h	Wed Feb 03 22:19:11 2010 +0000
@@ -103,8 +103,11 @@
 
 	int list_op;            /**< Which lists the user is in     */
 
-	guint membership_id[5];	/**< The membershipId sent by the contacts server,
-				     indexed by the list it belongs to		*/
+	/**
+	 * The membershipId for this buddy on our pending list.  Sent by
+	 * the contact's server
+	 */
+	guint member_id_on_pending_list;
 
 	char *invite_message;   /**< Invite message of user request */
 };