summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/WALogin.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/WALogin.h')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/WALogin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/WALogin.h b/protocols/WhatsApp/src/WhatsAPI++/WALogin.h
index 600dc83112..868e806880 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/WALogin.h
+++ b/protocols/WhatsApp/src/WhatsAPI++/WALogin.h
@@ -44,6 +44,8 @@ private:
static const std::string NONCE_KEY;
KeyStream* outputKey;
WAConnection* connection;
+ BinTreeNodeReader* inn;
+ BinTreeNodeWriter* out;
std::vector<unsigned char>* getAuthBlob(const std::vector<unsigned char>& nonce);
void sendResponse(const std::vector<unsigned char>& challengeData);
@@ -63,8 +65,6 @@ public:
bool supports_receipt_acks;
time_t expire_date;
int account_kind;
- BinTreeNodeReader* inn;
- BinTreeNodeWriter* out;
WALogin(WAConnection* connection, BinTreeNodeReader *reader, BinTreeNodeWriter *writer, const std::string& domain, const std::string& user, const std::string& resource, const std::string& password, const std::string& push_name);
std::vector<unsigned char>* login(const std::vector<unsigned char>& blobLength);