diff options
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())
|