# HG changeset patch
# User Elliott Sales de Andrade <qulogic@pidgin.im>
# Date 1260394169 0
# Node ID 0a22d67651ce23272d4b04830bbccfb451b0a6d2
# Parent  ccb05979ab8aeb3fe54b5c8ddff23855c134021d
Save the Endpoint ID with the data.

diff -r ccb05979ab8a -r 0a22d67651ce libpurple/protocols/msn/user.c
--- 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);
 	}
 
diff -r ccb05979ab8a -r 0a22d67651ce libpurple/protocols/msn/user.h
--- 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 */