diff options
author | George Hazan <george.hazan@gmail.com> | 2024-09-22 18:11:42 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-22 18:11:42 +0300 |
commit | f7ec875eee3960f5883448d536b10c2830f15057 (patch) | |
tree | 63b958d661896f42a4e08e43d41877a8c5c2c989 /protocols/SkypeWeb/src/skype_history_sync.cpp | |
parent | f046b1e4f64b22acd88787e56f6ca41ec7954af2 (diff) |
code cleaning
Diffstat (limited to 'protocols/SkypeWeb/src/skype_history_sync.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_history_sync.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_history_sync.cpp b/protocols/SkypeWeb/src/skype_history_sync.cpp index 99a1cb6c17..03281a60eb 100644 --- a/protocols/SkypeWeb/src/skype_history_sync.cpp +++ b/protocols/SkypeWeb/src/skype_history_sync.cpp @@ -33,7 +33,7 @@ void CSkypeProto::OnGetServerHistory(MHttpResponse *response, AsyncHttpRequest * std::string syncState = metadata["syncState"].as_string();
bool bOperative = pRequest->pUserInfo != 0;
- bool bUseLocalTime = !bUseServerTime && bOperative;
+ bool bUseLocalTime = !m_bUseServerTime && bOperative;
bool bSetLastTime = false;
int64_t lastMsgTime = 0; // max timestamp on this page
@@ -132,7 +132,7 @@ void CSkypeProto::OnSyncConversations(MHttpResponse *response, AsyncHttpRequest* MCONTACT hContact = FindContact(szSkypename);
if (hContact != NULL) {
auto lastMsgTime = getLastTime(hContact);
- if (lastMsgTime && lastMsgTime < id && bAutoHistorySync)
+ if (lastMsgTime && lastMsgTime < id && m_bAutoHistorySync)
PushRequest(new GetHistoryRequest(hContact, szSkypename, 100, lastMsgTime, false));
}
}
|