summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/SkypeWeb/src/skype_history_sync.cpp6
-rw-r--r--protocols/SkypeWeb/src/skype_options.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_history_sync.cpp b/protocols/SkypeWeb/src/skype_history_sync.cpp
index 3ce3d1c028..146b925ba2 100644
--- a/protocols/SkypeWeb/src/skype_history_sync.cpp
+++ b/protocols/SkypeWeb/src/skype_history_sync.cpp
@@ -32,7 +32,8 @@ void CSkypeProto::OnGetServerHistory(MHttpResponse *response, AsyncHttpRequest *
int totalCount = metadata["totalCount"].as_int();
std::string syncState = metadata["syncState"].as_string();
- bool bUseLocalTime = !bUseServerTime && pRequest->pUserInfo != 0;
+ bool bOperative = pRequest->pUserInfo != 0;
+ bool bUseLocalTime = !bUseServerTime && bOperative;
bool bSetLastTime = false;
int64_t lastMsgTime = 0; // max timestamp on this page
@@ -64,7 +65,8 @@ void CSkypeProto::OnGetServerHistory(MHttpResponse *response, AsyncHttpRequest *
}
dbei.flags = DBEF_UTF;
- dbei.flags |= DBEF_READ;
+ if (!bOperative)
+ dbei.flags |= DBEF_READ;
if (IsMe(szFrom))
dbei.flags |= DBEF_SENT;
diff --git a/protocols/SkypeWeb/src/skype_options.cpp b/protocols/SkypeWeb/src/skype_options.cpp
index 84c1c04966..f5d3f5dee5 100644
--- a/protocols/SkypeWeb/src/skype_options.cpp
+++ b/protocols/SkypeWeb/src/skype_options.cpp
@@ -45,8 +45,6 @@ public:
bool OnInitDialog() override
{
- CSkypeDlgBase::OnInitDialog();
-
m_skypename.SetTextA(ptrA(m_proto->getStringA(SKYPE_SETTINGS_ID)));
m_password.SetTextA(pass_ptrA(m_proto->getStringA("Password")));
m_place.Enable(!m_proto->bUseHostnameAsPlace);