diff libpurple/protocols/msn/user.h @ 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 23be655cc688
children 44f53d3fc54f
line wrap: on
line diff
--- a/libpurple/protocols/msn/user.h	Thu Dec 02 05:21:50 2010 +0000
+++ b/libpurple/protocols/msn/user.h	Thu Dec 02 06:04:55 2010 +0000
@@ -286,6 +286,14 @@
 msn_user_set_endpoint_data(MsnUser *user, const char *endpoint, MsnUserEndpoint *data);
 
 /**
+ * Clears all endpoint data for a user.
+ *
+ * @param user     The user.
+ */
+void
+msn_user_clear_endpoints(MsnUser *user);
+
+/**
  * Sets the client id for a user.
  *
  * @param user     The user.