diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-07-19 20:57:43 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-07-19 20:57:43 +0000 |
commit | ab51bf5672d02978906a59ddf070ccc3f80921b8 (patch) | |
tree | f847fab3f5371b69daec4e7450bda90ceb347399 /protocols | |
parent | 4ecb64e2426551c43ae4a61a971c4de8f07a503b (diff) |
WhatsApp:
-Updated constants
git-svn-id: http://svn.miranda-ng.org/main/trunk@14589 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/WARegister.cpp | 2 | ||||
-rw-r--r-- | protocols/WhatsApp/src/constants.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/WARegister.cpp b/protocols/WhatsApp/src/WhatsAPI++/WARegister.cpp index 8a30ab9f2a..476bb9ced4 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/WARegister.cpp +++ b/protocols/WhatsApp/src/WhatsAPI++/WARegister.cpp @@ -13,7 +13,7 @@ using namespace Utilities; /////////////////////////////////////////////////////////////////////////////////////////
// Token generation
-static char WaToken[] = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1425519315543";
+static char WaToken[] = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1435688727801";
std::string WAToken::GenerateToken(const string &number)
{
diff --git a/protocols/WhatsApp/src/constants.h b/protocols/WhatsApp/src/constants.h index 505e0e424e..7ea5bd115c 100644 --- a/protocols/WhatsApp/src/constants.h +++ b/protocols/WhatsApp/src/constants.h @@ -24,7 +24,7 @@ // WhatsApp
#define WHATSAPP_LOGIN_SERVER "c.whatsapp.net"
-#define ACCOUNT_USER_AGENT "WhatsApp/2.12.68 S40Version/14.26 Device/Nokia302"
+#define ACCOUNT_USER_AGENT "WhatsApp/2.12.89 S40Version/14.26 Device/Nokia302"
#define ACCOUNT_URL_CODEREQUEST "https://r.whatsapp.net/v1/code.php"
#define ACCOUNT_URL_CODEREQUESTV2 "https://v.whatsapp.net/v2/code"
#define ACCOUNT_URL_REGISTERREQUEST "https://r.whatsapp.net/v1/register.php"
@@ -33,7 +33,7 @@ #define ACCOUNT_URL_EXISTSV2 "https://v.whatsapp.net/v2/exist"
// WhatsApp Nokia 302 S40
-#define ACCOUNT_RESOURCE "S40-2.12.68"
+#define ACCOUNT_RESOURCE "S40-2.12.89"
#define WHATSAPP_RECV_MESSAGE 1
#define WHATSAPP_SEND_MESSAGE 2
|