Mercurial > pidgin
diff libpurple/protocols/yahoo/libymsg.c @ 29677:7081cefdd61a
Small tweaks:
* Split the CS lookup response on \r\n, not just \n.
* Send key 59 with a value of the configured roomlist locale for the account
during login.
The key 59 addition may fix some weird Yahoo Chat issues, but I haven't tested
in great detail. This makes us appear a bit more like the official client.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Sun, 04 Apr 2010 02:08:56 +0000 |
parents | 6d18b6221c5e |
children | 911f51eb04fd |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c Sat Apr 03 18:11:43 2010 +0000 +++ b/libpurple/protocols/yahoo/libymsg.c Sun Apr 04 02:08:56 2010 +0000 @@ -1736,6 +1736,8 @@ 244, yd->jp ? YAHOOJP_CLIENT_VERSION_ID : YAHOO_CLIENT_VERSION_ID, 2, name, 2, "1", + /* Should send key 59, value of bcookie here--need to fetch it first! */ + 98, purple_account_get_string(account, "room_list_locale", yd->jp ? "jp" : "us"), 135, yd->jp ? YAHOOJP_CLIENT_VERSION : YAHOO_CLIENT_VERSION); if (yd->picture_checksum) @@ -3529,7 +3531,7 @@ purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("Unable to connect: The server returned an empty response.")); } else { - strings = g_strsplit(url_text, "\n", -1); + strings = g_strsplit(url_text, "\r\n", -1); if((stringslen = g_strv_length(strings)) > 1) { int i;