changeset 32611:3d5a0e9654ed

merge of '0acd4d77f5bd8bb02a3a73b6800be683bd7068f2' and '6bee9aeec299196df3421d8fa5d0c663ae9f9e88'
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 12 Sep 2011 02:42:41 +0000
parents 513b8ec76077 (diff) 62c34bc73f18 (current diff)
children 4d64ab35c73b
files
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_picture.c	Sun Sep 11 04:52:21 2011 +0000
+++ b/libpurple/protocols/yahoo/yahoo_picture.c	Mon Sep 12 02:42:41 2011 +0000
@@ -123,16 +123,9 @@
 		/* TODO: make this work p2p, try p2p before the url */
 		PurpleUtilFetchUrlData *url_data;
 		struct yahoo_fetch_picture_data *data;
-		PurpleBuddy *b = purple_find_buddy(gc->account, who);
-		const char *locksum = NULL;
 		/* use whole URL if using HTTP Proxy */
 		gboolean use_whole_url = yahoo_account_use_http_proxy(gc);
 
-		/* FIXME: Cleanup this strtol() stuff if possible. */
-		if (b && (locksum = purple_buddy_icons_get_checksum_for_user(b)) != NULL &&
-				(checksum == strtol(locksum, NULL, 10)))
-			return;
-
 		data = g_new0(struct yahoo_fetch_picture_data, 1);
 		data->gc = gc;
 		data->who = g_strdup(who);