diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-10-25 18:18:39 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-10-25 18:18:39 +0000 |
commit | 776803207e705e15e8e2b7155d530d26061a54cb (patch) | |
tree | 5b80cf78452df154c55148030689c7c8b007f8c4 | |
parent | 0a5bd1c2f123bc03b5014e6332689a5fcd3c9a1a (diff) |
- fixed contact auth revoking
git-svn-id: http://svn.miranda-ng.org/main/trunk@2076 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/Skype/src/skype_contacts.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_contacts.cpp b/protocols/Skype/src/skype_contacts.cpp index 23a47699f3..3df78707a8 100644 --- a/protocols/Skype/src/skype_contacts.cpp +++ b/protocols/Skype/src/skype_contacts.cpp @@ -482,6 +482,11 @@ void CSkypeProto::UpdateContactStatus(HANDLE hContact, CContact::Ref contact) CContact::AVAILABILITY availability;
contact->GetPropAvailability(availability);
this->SetSettingWord(hContact, SKYPE_SETTINGS_STATUS, this->SkypeToMirandaStatus(availability));
+
+ if (availability == CContact::PENDINGAUTH)
+ this->SetSettingWord(hContact, "Auth", 1);
+ else
+ this->DeleteSetting(hContact, "Auth");
}
void CSkypeProto::UpdateContactStatusMessage(HANDLE hContact, CContact::Ref contact)
|