diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-09 09:16:22 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-09 09:16:22 +0000 |
commit | 1221bbbf2b71573423b0e4ef505d3969ea3a5a62 (patch) | |
tree | 3f82fff438ec5477f6f592e3e57ce517c3380cf3 /protocols/SkypeWeb | |
parent | 41f09429d5b455d0562834f214ecfa711b012acb (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')
-rw-r--r-- | protocols/SkypeWeb/src/requests/capabilities.h | 2 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_login.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/capabilities.h b/protocols/SkypeWeb/src/requests/capabilities.h index 2cf5459b62..f01036a5c3 100644 --- a/protocols/SkypeWeb/src/requests/capabilities.h +++ b/protocols/SkypeWeb/src/requests/capabilities.h @@ -55,7 +55,7 @@ public: json_push_back(privateInfo, json_new_a ("epname", compName ));
json_push_back(publicInfo, json_new_a ("capabilities", "Audio|Video" ));
- json_push_back(publicInfo, json_new_i ("capabilities", 125 ));
+ json_push_back(publicInfo, json_new_i ("typ", 125 ));
json_push_back(publicInfo, json_new_a ("skypeNameVersion","Miranda NG Skype" ));
json_push_back(publicInfo, json_new_a ("nodeInfo", "xx" ));
json_push_back(publicInfo, json_new_a ("version", verString.GetBuffer() ));
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;
|