diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-06 16:02:12 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-06 16:02:12 +0000 |
commit | a3a194dd8505b696ef850821dd6674bbe6528387 (patch) | |
tree | 5f790a50c56375acab51670ab7deab7a02571215 /protocols/SkypeWeb | |
parent | 55dde6fae68e9ab0f773db446a9bf3d00c08847e (diff) |
SkypeWeb: Fix(?) chats status.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13465 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r-- | protocols/SkypeWeb/src/skype_contacts.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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)
|