From f7ec875eee3960f5883448d536b10c2830f15057 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 22 Sep 2024 18:11:42 +0300 Subject: code cleaning --- protocols/SkypeWeb/src/skype_history_sync.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_history_sync.cpp') 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)); } } -- cgit v1.2.3