summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.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_proto.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_proto.cpp')
-rw-r--r--protocols/Skype/src/skype_proto.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp
index e5b80508d2..12155af7e3 100644
--- a/protocols/Skype/src/skype_proto.cpp
+++ b/protocols/Skype/src/skype_proto.cpp
@@ -123,8 +123,10 @@ int __cdecl CSkypeProto::AuthRequest(HANDLE hContact, const TCHAR* szMessage)
{
CContact::Ref contact;
SEString sid(::mir_u2a(this->GetSettingString(hContact, "sid")));
- if (g_skype->GetContact(sid, contact))
+ if (g_skype->GetContact(sid, contact)) {
+ contact->SetBuddyStatus(Contact::AUTHORIZED_BY_ME);
contact->SendAuthRequest(::mir_u2a(szMessage));
+ }
return 0;
}