From 776803207e705e15e8e2b7155d530d26061a54cb Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Thu, 25 Oct 2012 18:18:39 +0000 Subject: - fixed contact auth revoking git-svn-id: http://svn.miranda-ng.org/main/trunk@2076 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_contacts.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'protocols/Skype') 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) -- cgit v1.2.3