# HG changeset patch # User Yoshiki Yazawa # Date 1309082024 -32400 # Node ID 709b08f0daccc363497dded65fccef698e963d40 # Parent accce7b797372a74fe535d5cc7b097bdae53d20c fix group name's encoding for yahoojp. patch by nosuke. diff -r accce7b79737 -r 709b08f0dacc libpurple/protocols/yahoo/libymsg.c --- 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); }