diff libpurple/protocols/msn/user.c @ 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 88c48bcb5455
children 8c543e70db7f
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);
 	}