diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-18 13:04:59 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-18 13:04:59 +0000 |
commit | 7774e1ced73f710d2a01a07a26baacbd7f19f84d (patch) | |
tree | f631b6bf9a6cfa21c5e90dbcf4ee286a2ebed006 /protocols/SkypeWeb/src/skype_proto.cpp | |
parent | 3bc30875e34c2c16f2ee489227c0c7da7fee7f7f (diff) |
SkypeWeb: Login/logout refactoring part 2. SyncHistory improvements.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12909 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index 4cee50e5f6..79379a1ade 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -172,18 +172,10 @@ int CSkypeProto::SetStatus(int iNewStatus) if (m_pollingConnection)
CallService(MS_NETLIB_SHUTDOWN, (WPARAM)m_pollingConnection, 0);
- /*if (m_iStatus > ID_STATUS_CONNECTING + 1)
+ if (m_iStatus > ID_STATUS_CONNECTING + 1)
{
- LogoutRequest *logoutRequest = new LogoutRequest();
- if (!cookies.empty())
- {
- CMStringA allCookies;
- for (std::map<std::string, std::string>::iterator cookie = cookies.begin(); cookie != cookies.end(); ++cookie)
- allCookies.AppendFormat("%s=%s; ", cookie->first.c_str(), cookie->second.c_str());
- logoutRequest->Headers << CHAR_VALUE("Cookie", allCookies);
- }
- PushRequest(logoutRequest);
- }*/
+ SendRequest(new DeleteEndpointRequest(RegToken, EndpointId, Server));
+ }
requestQueue->Stop();
if (!Miranda_Terminated())
|