changeset 27611:d6377ec7bcd8

Oops! We should use YAHOOJP_CLIENT_VERSION if we're a Yahoo JAPAN account; the two client versions may diverge in the future.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sat, 18 Jul 2009 16:17:32 +0000
parents 4bfaf18fcb13
children b419196556c7 8d413ce87e7e
files libpurple/protocols/yahoo/yahoochat.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoochat.c	Sat Jul 18 16:12:12 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoochat.c	Sat Jul 18 16:17:32 2009 +0000
@@ -72,7 +72,7 @@
 					  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);
 }