diff options
Diffstat (limited to 'protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp')
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp | 8 |
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)
|