changeset 32163:709b08f0dacc

fix group name's encoding for yahoojp. patch by nosuke.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sun, 26 Jun 2011 18:53:44 +0900
parents accce7b79737
children 9aee8493db7f
files libpurple/protocols/yahoo/libymsg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c	Sun Jun 26 02:27:01 2011 +0900
+++ b/libpurple/protocols/yahoo/libymsg.c	Sun Jun 26 18:53:44 2011 +0900
@@ -1747,7 +1747,7 @@
 					2, name,
 					2, "1",
 					59, yd->cookie_b,
-					98, purple_account_get_string(account, "room_list_locale", yd->jp ? "jp" : "us"),
+					98, yd->jp ? "jp" : purple_account_get_string(account, "room_list_locale", "us"),
 					135, yd->jp ? YAHOOJP_CLIENT_VERSION : YAHOO_CLIENT_VERSION);
 	} else { /* don't try to send an empty B cookie - the server will be mad */
 		yahoo_packet_hash(pkt, "sssssssss",
@@ -1759,7 +1759,7 @@
 					244, yd->jp ? YAHOOJP_CLIENT_VERSION_ID : YAHOO_CLIENT_VERSION_ID,
 					2, name,
 					2, "1",
-					98, purple_account_get_string(account, "room_list_locale", yd->jp ? "jp" : "us"),
+					98, yd->jp ? "jp" : purple_account_get_string(account, "room_list_locale", "us"),
 					135, yd->jp ? YAHOOJP_CLIENT_VERSION : YAHOO_CLIENT_VERSION);
 	}