libpurple/protocols/jabber/facebook_roster.c

branch
release-2.x.y
changeset 36016
e8542f42dd97
parent 36013
a351cbf422ed
child 36017
5a0231b9b25b
--- a/libpurple/protocols/jabber/facebook_roster.c	Wed May 07 16:36:36 2014 +0200
+++ b/libpurple/protocols/jabber/facebook_roster.c	Wed May 07 17:11:45 2014 +0200
@@ -37,6 +37,10 @@
 	PurpleBuddy *buddy;
 	const gchar *jid;
 
+	if (js->facebook_roster_cleanup_performed)
+		return;
+	js->facebook_roster_cleanup_performed = TRUE;
+
 	/* mark all local buddies as "to be removed" */
 	remove_buddies = g_hash_table_new_full(g_str_hash, g_str_equal,
 		g_free, NULL);

mercurial