diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-12-22 19:29:41 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-12-22 19:29:41 +0000 |
commit | 4c21d57786db8d8aa97f285573b58c54aa05340b (patch) | |
tree | 4bbde7596b208128f1bede1ff84429a39711ac38 /protocols/WhatsApp/src/WhatsAPI++ | |
parent | ac8bed8f05473bf773b9729d5acef4b49dde3682 (diff) |
WhatsApp:
- Updated constants to 2.13.21
git-svn-id: http://svn.miranda-ng.org/main/trunk@15934 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++')
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/WARegister.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/WARegister.cpp b/protocols/WhatsApp/src/WhatsAPI++/WARegister.cpp index 2db12da5b5..2f6754d45e 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/WARegister.cpp +++ b/protocols/WhatsApp/src/WhatsAPI++/WARegister.cpp @@ -10,11 +10,12 @@ using namespace Utilities;
-/////////////////////////////////////////////////////////////////////////////////////////
-// Token generation
+static char WaToken[] = WHATSAPP_TOKEN;
-static char WaToken[] = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1442277896714";
+/////////////////////////////////////////////////////////////////////////////////////////
+// Token generation
+//
std::string WAToken::GenerateToken(const string &number)
{
uint8_t digest[16];
@@ -27,6 +28,7 @@ std::string WAToken::GenerateToken(const string &number) /////////////////////////////////////////////////////////////////////////////////////////
// Account registration
+//
CMStringA WARegister::RequestCodeUrl(const std::string &phoneNumber, const std::string &code)
{
try {
|