Mercurial > pidgin.yaz
diff libpurple/protocols/yahoo/libymsg.h @ 30072:60af53dd42d5
Ladies and gentlemen, I give you HTTP-based retrieval of the Yahoo CS server
address, thus eliminating the need for the old "Pager server" account option.
This method makes us a bit less distinguishable from the official client, as
the official clients do the same HTTP request. Fixes #11555.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Fri, 02 Apr 2010 06:42:32 +0000 |
parents | bfaf039aed87 |
children | 957f57decf90 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.h Fri Apr 02 02:25:49 2010 +0000 +++ b/libpurple/protocols/yahoo/libymsg.h Fri Apr 02 06:42:32 2010 +0000 @@ -30,6 +30,7 @@ #include "prpl.h" #define YAHOO_PAGER_HOST "scsa.msg.yahoo.com" +#define YAHOO_PAGER_HOST_REQ_URL "http://vcs1.msg.yahoo.com/capacity" #define YAHOO_PAGER_PORT 5050 #define YAHOO_PAGER_PORT_P2P 5101 #define YAHOO_LOGIN_URL "https://login.yahoo.com/config/pwtoken_login?src=ymsgr&ts=&token=%s" @@ -47,6 +48,7 @@ /* really we should get the list of servers from http://update.messenger.yahoo.co.jp/servers.html */ #define YAHOOJP_PAGER_HOST "cs.yahoo.co.jp" +#define YAHOOJP_PAGER_HOST_REQ_URL "http://cs1.msg.vip.ogk.yahoo.co.jp/capacity" #define YAHOOJP_TOKEN_URL "https://login.yahoo.co.jp/config/pwtoken_get?src=ymsgr&ts=&login=%s&passwd=%s&chal=%s" #define YAHOOJP_LOGIN_URL "https://login.yahoo.co.jp/config/pwtoken_login?src=ymsgr&ts=&token=%s" #define YAHOOJP_PROFILE_URL "http://profiles.yahoo.co.jp/"