diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-06-16 07:27:00 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-06-16 07:27:00 +0000 |
commit | 0e88c1fc2f51c815e6b2ebd0ad79d5c0d0661a7c (patch) | |
tree | 4ca18985738be30745efac2916ffb7d2feb27e57 /protocols/Skype/src/skype_account.cpp | |
parent | 598bd198b278e05681e79d995f9be56e057832f5 (diff) |
Skype:
- fix for future birthday
- fix for closing chat room sessions on logout
- added some logging
git-svn-id: http://svn.miranda-ng.org/main/trunk@4971 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_account.cpp')
-rw-r--r-- | protocols/Skype/src/skype_account.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_account.cpp b/protocols/Skype/src/skype_account.cpp index 2642ef0da6..f6b91dd8f4 100644 --- a/protocols/Skype/src/skype_account.cpp +++ b/protocols/Skype/src/skype_account.cpp @@ -126,11 +126,15 @@ void CSkypeProto::LogOut() {
if (this->IsOnline() || this->m_iStatus == ID_STATUS_CONNECTING)
{
- this->account->SetAvailability(CContact::OFFLINE);
+ this->account->SetAvailability(Contact::OFFLINE);
this->Log(L"Logout from account");
this->account->Logout(true);
- this->SetAllContactStatus(ID_STATUS_OFFLINE);
+ if ( !::Miranda_Terminated())
+ {
+ this->SetAllContactStatus(ID_STATUS_OFFLINE);
+ this->CloseAllChatSessions();
+ }
}
}
|