# HG changeset patch # User John Bailey # Date 1246060774 0 # Node ID 57ea320e272736910d7d20d2c62fe7d28047ea58 # Parent dfa7d2a0d9b8adc1fe247acc3fa03ad671668f2c Mimic the official client's HTTP User-Agent strings. diff -r dfa7d2a0d9b8 -r 57ea320e2727 libpurple/protocols/yahoo/yahoo.h --- a/libpurple/protocols/yahoo/yahoo.h Fri Jun 26 05:27:51 2009 +0000 +++ b/libpurple/protocols/yahoo/yahoo.h Fri Jun 26 23:59:34 2009 +0000 @@ -89,7 +89,7 @@ #define YAHOOJP_CLIENT_VERSION_ID "4194239" #define YAHOOJP_CLIENT_VERSION "9.0.0.2152" -#define YAHOO_CLIENT_USERAGENT "Mozilla/4.0 (compatible; MSIE 5.5)" +#define YAHOO_CLIENT_USERAGENT "Mozilla/5.0" /* Index into attention types list. */ #define YAHOO_BUZZ 0 diff -r dfa7d2a0d9b8 -r 57ea320e2727 libpurple/protocols/yahoo/yahoo_picture.c --- a/libpurple/protocols/yahoo/yahoo_picture.c Fri Jun 26 05:27:51 2009 +0000 +++ b/libpurple/protocols/yahoo/yahoo_picture.c Fri Jun 26 23:59:34 2009 +0000 @@ -139,7 +139,7 @@ data->checksum = checksum; /* TODO: Does this need to be MSIE 5.0? */ url_data = purple_util_fetch_url(url, use_whole_url, - "Mozilla/4.0 (compatible; MSIE 5.0)", FALSE, + "Mozilla/4.0 (compatible; MSIE 5.5)", FALSE, yahoo_fetch_picture_cb, data); if (url_data != NULL) { yd = gc->proto_data;