From 440c4d7f69584eb52720c44a388efff358d41282 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Thu, 30 Apr 2015 18:35:31 +0000 Subject: SkypeWeb: Login fix(?). git-svn-id: http://svn.miranda-ng.org/main/trunk@13298 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_login.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/SkypeWeb') diff --git a/protocols/SkypeWeb/src/skype_login.cpp b/protocols/SkypeWeb/src/skype_login.cpp index b7fc362995..21c1ed02e8 100644 --- a/protocols/SkypeWeb/src/skype_login.cpp +++ b/protocols/SkypeWeb/src/skype_login.cpp @@ -107,7 +107,7 @@ void CSkypeProto::OnLoginSuccess() { SelfSkypeName = getStringA(SKYPE_SETTINGS_ID); TokenSecret = getStringA("TokenSecret"); - Server = getStringA("Server"); + Server = getStringA("Server") != NULL ? getStringA("Server") : SKYPE_ENDPOINTS_HOST; SendRequest(new CreateEndpointRequest(TokenSecret, Server), &CSkypeProto::OnEndpointCreated); SendRequest(new CreateTrouterRequest(), &CSkypeProto::OnCreateTrouter); PushRequest(new GetProfileRequest(TokenSecret), &CSkypeProto::LoadProfile); -- cgit v1.2.3