Don't attempt to remove the master group in our cleanlist function.

Thu, 24 Sep 2009 01:29:56 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Thu, 24 Sep 2009 01:29:56 +0000
changeset 28580
061c2827b3f5
parent 28579
28cef7bf2835
child 28581
0eed231d924c

Don't attempt to remove the master group in our cleanlist function.
This probably happens very rarely, and probably isn't important,
but http://dev.aol.com/aim/oscar/#FEEDBAG says,
"The Root Group should never be deleted by the client."

libpurple/protocols/oscar/family_feedbag.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/oscar/family_feedbag.c	Wed Sep 23 10:02:08 2009 +0000
+++ b/libpurple/protocols/oscar/family_feedbag.c	Thu Sep 24 01:29:56 2009 +0000
@@ -687,10 +687,6 @@
 		cur = cur->next;
 	}
 
-	/* Check if the master group is empty */
-	if ((cur = aim_ssi_itemlist_find(od->ssi.local, 0x0000, 0x0000)) && (!cur->data))
-		aim_ssi_itemlist_del(&od->ssi.local, cur);
-
 	/* If we've made any changes then sync our list with the server's */
 	return aim_ssi_sync(od);
 }

mercurial