From ddb498e9d73f3cba46791983ecece2371796f29b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 29 Jan 2015 14:07:23 +0000 Subject: more cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@11949 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp') 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) -- cgit v1.2.3