diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-08 15:31:07 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-08 15:31:07 +0000 |
commit | beb1f6c074d7790bd015229afc0daea22e6fedb2 (patch) | |
tree | 9a8ef717be6f78f96dd99845fafdc6084574c5d5 /protocols/SkypeWeb/src/skype_login.cpp | |
parent | 033e0683934e31341a9a28ae1a7fac17fba9215f (diff) |
SkypeWeb: DB utils moved to skype_db.cpp. Messages synchronization refactoring.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13484 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_login.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_login.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_login.cpp b/protocols/SkypeWeb/src/skype_login.cpp index bcf1fd804a..e1adef6672 100644 --- a/protocols/SkypeWeb/src/skype_login.cpp +++ b/protocols/SkypeWeb/src/skype_login.cpp @@ -216,7 +216,10 @@ void CSkypeProto::OnCapabilitiesSended(const NETLIBHTTPREQUEST *response) m_hPollingThread = ForkThreadEx(&CSkypeProto::PollingThread, 0, NULL);
- SyncHistory();
+ //SyncHistory();
+
+ SendRequest(new LoadChatsRequest(RegToken, Server), &CSkypeProto::OnLoadChats);
+ PushRequest(new SyncHistoryFirstRequest(RegToken, 100, Server), &CSkypeProto::OnSyncHistory);
if (response == NULL || response->pData == NULL)
return;
|