summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-29 14:07:23 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-29 14:07:23 +0000
commitddb498e9d73f3cba46791983ecece2371796f29b (patch)
tree6946397e2d33c931a9b9844640b495fb0e529b90 /protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp
parentc4562ac53bba7b587af2fcb5eebd6051b11d1f04 (diff)
more cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@11949 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp
index e1175d26a6..5566d23145 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp
+++ b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp
@@ -169,11 +169,11 @@ std::string WAConnection::removeResourceFromJid(const std::string &jid)
void WAConnection::setLogin(WALogin* login)
{
- if (login->expire_date != 0L)
- this->expire_date = login->expire_date;
+ if (login->m_tExpireDate != 0L)
+ this->expire_date = login->m_tExpireDate;
- if (login->account_kind != -1)
- this->account_kind = login->account_kind;
+ if (login->m_iAccountKind != -1)
+ this->account_kind = login->m_iAccountKind;
}
void WAConnection::setVerboseId(bool b)