diff libpurple/protocols/yahoo/yahoo.h @ 22406:0c098ebe9f16

Fixed bug in which Yahoo contacts were erroneously considered to be blocked, espcially noticeable for people with very large buddy lists. The problem was that we can receive the Yahoo p15 buddy list in multiple packets, and the server expects us to remember the group for which we're receiving buddies, as it won't remind us. Our logic is "no group means blocked," which is why these buddies became blocked. Fixes http://trac.adiumx.com/ticket/7744
author Evan Schoenberg <evan.s@dreskin.net>
date Wed, 05 Mar 2008 00:26:44 +0000
parents cc5b2a145652
children 269bba623a62 b31b72cd273d
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.h	Tue Mar 04 23:53:44 2008 +0000
+++ b/libpurple/protocols/yahoo/yahoo.h	Wed Mar 05 00:26:44 2008 +0000
@@ -175,6 +175,12 @@
 	GSList *url_datas;
 	GHashTable *xfer_peer_idstring_map;/*Hey, i dont know, but putting this HashTable next to friends gives a run time fault...*/
 	GSList *cookies;/*contains all cookies, including _y and _t*/
+	
+	/**
+	 * We may receive a list15 in multiple packets with no prior warning as to how many we'll be getting;
+	 * the server expects us to keep track of the group for which it is sending us contact names.
+	 */
+	char *current_list15_grp;
 };
 
 #define YAHOO_MAX_STATUS_MESSAGE_LENGTH (255)