diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-26 11:00:13 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-26 11:00:13 +0000 |
commit | 620a8e00fae60a5bef18a000c8bc5a3b98eff6a1 (patch) | |
tree | 34807eff3f20075c4341e264526eb75da0637b14 /protocols/SkypeWeb/src/skype_proto.cpp | |
parent | 6a78b8c34efc8856acab62e22c61a0883311170c (diff) |
SkypeWeb: more fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15033 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index 4d1e236bce..d2eeaf0b68 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -249,13 +249,13 @@ int CSkypeProto::SetStatus(int iNewStatus) delSetting("endpointId");
delSetting("expires");
}
+ m_iStatus = m_iDesiredStatus = ID_STATUS_OFFLINE;
// logout
requestQueue->Stop();
ShutdownConnections();
CloseDialogs();
- ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)m_iStatus, ID_STATUS_OFFLINE);
- m_iStatus = m_iDesiredStatus = ID_STATUS_OFFLINE;
+ ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, ID_STATUS_OFFLINE);
if (!Miranda_Terminated())
SetAllContactsStatus(ID_STATUS_OFFLINE);
|