summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-05-03 11:08:15 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-05-03 11:08:15 +0000
commit6a16d16bcc07a7f857c9d051982db2f7aa035e37 (patch)
tree31a203a8071ec6c8168f81a187684a18241658ec /protocols/SkypeWeb/src/skype_proto.cpp
parentd55f119efd560e3962436cbe70b423d0757dd9ea (diff)
SkypeWeb: Notification on contacts & chats offline arfer logout removed.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13394 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index 70124ca692..9c7acf6922 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -221,10 +221,12 @@ int CSkypeProto::SetStatus(int iNewStatus)
}
requestQueue->Stop();
+ ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)m_iStatus, ID_STATUS_OFFLINE);
+ m_iStatus = m_iDesiredStatus = ID_STATUS_OFFLINE;
+
if (!Miranda_Terminated())
SetAllContactsStatus(ID_STATUS_OFFLINE);
-
- m_iStatus = m_iDesiredStatus = ID_STATUS_OFFLINE;
+ return 0;
}
else
{