pidgin: d3334a02: Oops! We should use YAHOOJP_CLIENT_VERS...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Sat Jul 18 12:20:22 EDT 2009


-----------------------------------------------------------------
Revision: d3334a023251e5d640dc061092a6aa2fbd14e629
Ancestor: 0f7ebf12821809ef6debe2b50834f1fc0ba97f09
Author: rekkanoryo at pidgin.im
Date: 2009-07-18T16:17:32
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d3334a023251e5d640dc061092a6aa2fbd14e629

Modified files:
        libpurple/protocols/yahoo/yahoochat.c

ChangeLog: 

Oops!  We should use YAHOOJP_CLIENT_VERSION if we're a Yahoo JAPAN account;
the two client versions may diverge in the future.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoochat.c	806e80d67fcd4c9b9d5b2404ff91924827f2dea1
+++ libpurple/protocols/yahoo/yahoochat.c	af4583e253b3e8d0f38938488b19210489d6c2b4
@@ -72,7 +72,7 @@ static void yahoo_chat_online(PurpleConn
 					  6, "abcde",
 					/* I'm not sure this is the correct way to set this. */
 					  98, rll,
-					  135, YAHOO_CLIENT_VERSION);
+					  135, yd->jp ? YAHOO_CLIENT_VERSION : YAHOOJP_CLIENT_VERSION);
 	yahoo_packet_send_and_free(pkt, yd);
 }
 


More information about the Commits mailing list