From 7f4d529b59698d7eb2403bd1f9088a5aa7fa9080 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 22 May 2015 12:27:51 +0000 Subject: SkypeWeb: Loading contactlist after polling start. git-svn-id: http://svn.miranda-ng.org/main/trunk@13751 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_login.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (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 f6e91b6591..4c8462bf65 100644 --- a/protocols/SkypeWeb/src/skype_login.cpp +++ b/protocols/SkypeWeb/src/skype_login.cpp @@ -110,8 +110,6 @@ void CSkypeProto::OnLoginSuccess() Server = getStringA("Server") != NULL ? getStringA("Server") : SKYPE_ENDPOINTS_HOST; SendRequest(new CreateEndpointRequest(TokenSecret, Server), &CSkypeProto::OnEndpointCreated); PushRequest(new GetProfileRequest(TokenSecret), &CSkypeProto::LoadProfile); - PushRequest(new GetAvatarRequest(ptrA(getStringA("AvatarUrl"))), &CSkypeProto::OnReceiveAvatar, NULL); - PushRequest(new GetContactListRequest(TokenSecret), &CSkypeProto::LoadContactList); if (!m_timer) SkypeSetTimer(this); @@ -216,7 +214,8 @@ void CSkypeProto::OnCapabilitiesSended(const NETLIBHTTPREQUEST *response) m_hPollingThread = ForkThreadEx(&CSkypeProto::PollingThread, 0, NULL); - //SyncHistory(); + PushRequest(new GetAvatarRequest(ptrA(getStringA("AvatarUrl"))), &CSkypeProto::OnReceiveAvatar, NULL); + PushRequest(new GetContactListRequest(TokenSecret), &CSkypeProto::LoadContactList); SendRequest(new LoadChatsRequest(RegToken, Server), &CSkypeProto::OnLoadChats); if (getBool("AutoSync", true)) -- cgit v1.2.3