diff options
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;
|