changeset 30662:0a22d67651ce

Save the Endpoint ID with the data.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 09 Dec 2009 21:29:29 +0000
parents ccb05979ab8a
children 3140627b93e7
files libpurple/protocols/msn/user.c libpurple/protocols/msn/user.h
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/user.c	Wed Dec 09 21:10:08 2009 +0000
+++ b/libpurple/protocols/msn/user.c	Wed Dec 09 21:29:29 2009 +0000
@@ -247,6 +247,7 @@
 	new = g_hash_table_lookup(user->endpoints, endpoint);
 	if (!new) {
 		new = g_new0(MsnUserEndpoint, 1);
+		new->id = g_strdup(endpoint);
 		g_hash_table_insert(user->endpoints, g_strdup(endpoint), new);
 	}
 
--- a/libpurple/protocols/msn/user.h	Wed Dec 09 21:10:08 2009 +0000
+++ b/libpurple/protocols/msn/user.h	Wed Dec 09 21:29:29 2009 +0000
@@ -115,6 +115,7 @@
  * A specific user endpoint.
  */
 typedef struct MsnUserEndpoint {
+	char *id;				/**< The client's endpoint ID          */
 	guint clientid;         /**< The client's ID                   */
 	guint extcaps;			/**< The client's extended capabilites */