summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-07-25 12:30:11 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-07-25 12:30:11 +0000
commitbc55bf103dc79145ddd24e93a8f96fc6e8cf46d7 (patch)
treef0a516758a31572a7a2d07f5b0d1d7b002428003 /protocols/SkypeWeb/src/skype_proto.cpp
parentb92e4c685ca1bfa9d6168c4562013ebca306b79d (diff)
SkypeWeb: Closing dialogs on logout
git-svn-id: http://svn.miranda-ng.org/main/trunk@14682 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, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index fc2cbfecd4..78b44fe2e2 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName) :
-PROTO<CSkypeProto>(protoName, userName), m_PopupClasses(1)
+ PROTO<CSkypeProto>(protoName, userName), m_PopupClasses(1), m_InviteDialogs(1), m_GCCreateDialogs(1)
{
m_hProtoIcon = Icons[0].Handle;
@@ -243,7 +243,7 @@ int CSkypeProto::SetStatus(int iNewStatus)
delSetting("expires");
}
requestQueue->Stop();
-
+ CloseDialogs();
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)m_iStatus, ID_STATUS_OFFLINE);
m_iStatus = m_iDesiredStatus = ID_STATUS_OFFLINE;