pidgin: 5ebb1a8f: Don't attempt to remove the master group...

markdoliner at pidgin.im markdoliner at pidgin.im
Wed Sep 23 21:36:11 EDT 2009


-----------------------------------------------------------------
Revision: 5ebb1a8fdd12e476a48622bc1c64a58607c3bc30
Ancestor: a6563c73412a7ef0a1425ce5882741e7ada6e3e9
Author: markdoliner at pidgin.im
Date: 2009-09-24T01:29:56
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/5ebb1a8fdd12e476a48622bc1c64a58607c3bc30

Modified files:
        libpurple/protocols/oscar/family_feedbag.c

ChangeLog: 

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."

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/family_feedbag.c	61b3f27d17eaa32d574654eaa16960270068dbc2
+++ libpurple/protocols/oscar/family_feedbag.c	6a32327d1bb3547f76ec833f78b8a326985c4512
@@ -687,10 +687,6 @@ int aim_ssi_cleanlist(OscarData *od)
 		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);
 }


More information about the Commits mailing list