From beb1f6c074d7790bd015229afc0daea22e6fedb2 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 8 May 2015 15:31:07 +0000 Subject: 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 --- protocols/SkypeWeb/src/skype_login.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'protocols/SkypeWeb/src/skype_login.cpp') 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; -- cgit v1.2.3