summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_contacts.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-11-17 17:21:34 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-11-17 17:21:34 +0000
commitcaf86dc4db73bfca0e41371e204624061251f062 (patch)
tree3ad7f11062046f7fec9d99af19896354b466e96a /protocols/Skype/src/skype_contacts.cpp
parentc61eff4bc0a9ebdfb43b8e68b345fa53456378a5 (diff)
fixed project for new skypekit
fixed sending auth request fixed adding in contact list git-svn-id: http://svn.miranda-ng.org/main/trunk@2337 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_contacts.cpp')
-rw-r--r--protocols/Skype/src/skype_contacts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Skype/src/skype_contacts.cpp b/protocols/Skype/src/skype_contacts.cpp
index 063091ac06..a6adcb36fa 100644
--- a/protocols/Skype/src/skype_contacts.cpp
+++ b/protocols/Skype/src/skype_contacts.cpp
@@ -262,7 +262,7 @@ void CSkypeProto::UpdateContactStatus(HANDLE hContact, CContact::Ref contact)
this->SetSettingWord(hContact, SKYPE_SETTINGS_STATUS, this->SkypeToMirandaStatus(availability));
if (availability == CContact::PENDINGAUTH)
- this->SetSettingWord(hContact, "Auth", 1);
+ this->SetSettingByte(hContact, "Auth", 1);
else
this->DeleteSetting(hContact, "Auth");
}
@@ -598,10 +598,10 @@ HANDLE CSkypeProto::AddContactBySid(const wchar_t* sid, const wchar_t* nick, DWO
{
contact.fetch();
bool result;
- if (contact->IsMemberOfHardwiredGroup(CContactGroup::ALL_KNOWN_CONTACTS, result) && result)
+ if (contact->IsMemberOfHardwiredGroup(CContactGroup::ALL_BUDDIES, result))
{
CContactGroup::Ref group;
- if (g_skype->GetHardwiredContactGroup(CContactGroup::ALL_KNOWN_CONTACTS, group))
+ if (g_skype->GetHardwiredContactGroup(CContactGroup::ALL_BUDDIES, group))
{
group.fetch();
group->AddContact(contact);