diff libpurple/protocols/msn/notification.c @ 30989:7bf659dbacee

Clear out the old list of endpoints when we receive a new one. This will correct the "View Locations" list when we force a location to sign out.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 02 Dec 2010 06:04:55 +0000
parents 1ab50afb7925
children 1546ad4f93b3
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Thu Dec 02 05:21:50 2010 +0000
+++ b/libpurple/protocols/msn/notification.c	Thu Dec 02 06:04:55 2010 +0000
@@ -1558,6 +1558,7 @@
 
 	purple_debug_info("msn", "Get EndpointData\n");
 
+	msn_user_clear_endpoints(user);
 	for (epNode = xmlnode_get_child(payloadNode, "EndpointData");
 	     epNode;
 	     epNode = xmlnode_get_next_twin(epNode)) {