summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-07 13:32:34 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-07 13:32:34 +0000
commit4056ab703967ccbba528aebc93802f732ae13884 (patch)
tree3dc1984ed3fa17e48260ad9921f2377179a3c65c /protocols/SkypeWeb/src/skype_proto.cpp
parent4e67bd6db63fbd628fb3db7ad73b784b7a2a0036 (diff)
SkypeWeb: Chats support part 1.1.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12651 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index 6434ec4b90..f9e43ba97c 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -49,7 +49,7 @@ DWORD_PTR CSkypeProto::GetCaps(int type, MCONTACT)
switch (type)
{
case PFLAGNUM_1:
- return PF1_IM | PF1_AUTHREQ;
+ return PF1_IM | PF1_AUTHREQ | PF1_CHAT;
case PFLAGNUM_2:
return PF2_ONLINE | PF2_INVISIBLE | PF2_SHORTAWAY | PF2_HEAVYDND;
case PFLAGNUM_3:
@@ -162,8 +162,10 @@ int CSkypeProto::SetStatus(int iNewStatus)
{
// logout
isTerminated = true;
+
//if (m_pollingConnection)
// CallService(MS_NETLIB_SHUTDOWN, (WPARAM)m_pollingConnection, 0);
+
LogoutRequest *logoutRequest = new LogoutRequest();
if (!cookies.empty())
{