summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_login.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-05-09 09:16:22 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-05-09 09:16:22 +0000
commit1221bbbf2b71573423b0e4ef505d3969ea3a5a62 (patch)
tree3f82fff438ec5477f6f592e3e57ce517c3380cf3 /protocols/SkypeWeb/src/skype_login.cpp
parent41f09429d5b455d0562834f214ecfa711b012acb (diff)
SkypeWeb: AutoSync setting fix. UserPrersence fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13493 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_login.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_login.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_login.cpp b/protocols/SkypeWeb/src/skype_login.cpp
index e1adef6672..a2520a1262 100644
--- a/protocols/SkypeWeb/src/skype_login.cpp
+++ b/protocols/SkypeWeb/src/skype_login.cpp
@@ -219,7 +219,8 @@ void CSkypeProto::OnCapabilitiesSended(const NETLIBHTTPREQUEST *response)
//SyncHistory();
SendRequest(new LoadChatsRequest(RegToken, Server), &CSkypeProto::OnLoadChats);
- PushRequest(new SyncHistoryFirstRequest(RegToken, 100, Server), &CSkypeProto::OnSyncHistory);
+ if (getBool("AutoSync", true))
+ PushRequest(new SyncHistoryFirstRequest(RegToken, 100, Server), &CSkypeProto::OnSyncHistory);
if (response == NULL || response->pData == NULL)
return;