diff options
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 |