From a3a194dd8505b696ef850821dd6674bbe6528387 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Wed, 6 May 2015 16:02:12 +0000 Subject: SkypeWeb: Fix(?) chats status. git-svn-id: http://svn.miranda-ng.org/main/trunk@13465 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_contacts.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/protocols/SkypeWeb/src/skype_contacts.cpp b/protocols/SkypeWeb/src/skype_contacts.cpp index 8c539e72e1..82f5adece3 100644 --- a/protocols/SkypeWeb/src/skype_contacts.cpp +++ b/protocols/SkypeWeb/src/skype_contacts.cpp @@ -37,8 +37,11 @@ void CSkypeProto::SetAllContactsStatus(WORD status) { for (MCONTACT hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) { - SetContactStatus(hContact, status); + if (!isChatRoom(hContact)) + SetContactStatus(hContact, status); } + if (status == ID_STATUS_OFFLINE) + CloseAllChatChatSessions(); } void CSkypeProto::SetChatStatus(MCONTACT hContact, int iStatus) -- cgit v1.2.3