cpw.rekkanoryo.yahoo.separate_prpls: ee60c9e2: I believe this will correctly handle set...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Sun Jul 5 10:45:37 EDT 2009


-----------------------------------------------------------------
Revision: ee60c9e2cbf54ab20ab2b27f5adbd3bd5624c196
Ancestor: 164a77c99f77dea070e5b2ca4a66202851f76516
Author: rekkanoryo at pidgin.im
Date: 2009-07-05T14:31:37
Branch: im.pidgin.cpw.rekkanoryo.yahoo.separate_prpls
URL: http://d.pidgin.im/viewmtn/revision/info/ee60c9e2cbf54ab20ab2b27f5adbd3bd5624c196

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

ChangeLog: 

I believe this will correctly handle setting the yd->jp value under the new
two-prpl model.  I still need to put a migration path in for existing Yahoo!
JAPAN accounts.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c	01beee9b9683ba12647aceb95bd59ab006cd376e
+++ libpurple/protocols/yahoo/libymsg.c	44468329f7d9fdd4041758b0ded1921a56c852e7
@@ -3428,10 +3428,10 @@ static void yahoo_login(PurpleAccount *a
 	yahoo_server_check(account);
 	yahoo_picture_check(account);
 
-	if (purple_account_get_bool(account, "yahoojp", FALSE)) {
+	if (purple_strequal(purple_account_get_protocol_id(account), "yahoojp")) {
 		yd->jp = TRUE;
 		if (purple_proxy_connect(gc, account,
-		                       purple_account_get_string(account, "serverjp",  YAHOOJP_PAGER_HOST),
+		                       purple_account_get_string(account, "server",  YAHOOJP_PAGER_HOST),
 		                       purple_account_get_int(account, "port", YAHOO_PAGER_PORT),
 		                       yahoo_got_connected, gc) == NULL)
 		{


More information about the Commits mailing list