diff options
| -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
 | 
