diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-22 12:27:51 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-22 12:27:51 +0000 |
commit | 7f4d529b59698d7eb2403bd1f9088a5aa7fa9080 (patch) | |
tree | a1d5ffcff66039fbcac2e869f95eea74b64fe8d4 /protocols/SkypeWeb/src/skype_login.cpp | |
parent | 2ad5305d32e3e85d511ce81a7273b9de7c05d4ed (diff) |
SkypeWeb: Loading contactlist after polling start.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13751 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, 2 insertions, 3 deletions
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))
|