changeset 28654:ad04e3ffb3d5

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."
author Mark Doliner <mark@kingant.net>
date Thu, 24 Sep 2009 01:29:56 +0000
parents 5dad598188ed
children c9d3bda6ef81
files libpurple/protocols/oscar/family_feedbag.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }