diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-06-10 10:42:46 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-06-10 10:42:46 +0000 |
commit | ef6701c0f1f29970a54a1a1e0219a1b5bbeb4984 (patch) | |
tree | 47936978d0385f84771eae9aed4d6a7a5a02f36d /protocols/Skype/src/skype_account.cpp | |
parent | df428745363d5b3d22f2a737930ca0e7af8e2221 (diff) |
Skype:
- proto goes offline on disconnect
- fixed notifications
git-svn-id: http://svn.miranda-ng.org/main/trunk@4907 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_account.cpp')
-rw-r--r-- | protocols/Skype/src/skype_account.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Skype/src/skype_account.cpp b/protocols/Skype/src/skype_account.cpp index 3bdc8d023c..b070a7d1af 100644 --- a/protocols/Skype/src/skype_account.cpp +++ b/protocols/Skype/src/skype_account.cpp @@ -349,13 +349,13 @@ void CSkypeProto::OnAccountChanged(int prop) this->UpdateProfile(this->account.fetch());
break;
- /*case CAccount::P_AVAILABILITY:
+ case CAccount::P_AVAILABILITY:
{
- CContact::AVAILABILITY status;
+ Contact::AVAILABILITY status;
this->account->GetPropAvailability(status);
- if (status != CContact::CONNECTING && status >= CContact::ONLINE)
- this->SetStatus(this->SkypeToMirandaStatus(status));
+ if (status == CContact::CONNECTING && this->IsOnline())
+ this->SetStatus(ID_STATUS_OFFLINE);
}
- break;*/
+ break;
}
}
\ No newline at end of file |