From 22cfb3b9a633f870140298bf174cdf0a1869f5f8 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 10 Apr 2015 12:54:49 +0000 Subject: SkypeWeb: Adding contacts by search. git-svn-id: http://svn.miranda-ng.org/main/trunk@12731 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_proto.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index 22756822da..6dad137827 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -82,7 +82,17 @@ DWORD_PTR CSkypeProto::GetCaps(int type, MCONTACT) return 0; } -MCONTACT CSkypeProto::AddToList(int flags, PROTOSEARCHRESULT *psr) { return 0; } +MCONTACT CSkypeProto::AddToList(int flags, PROTOSEARCHRESULT *psr) +{ + debugLogA("CVkProto::AddToList"); + + ptrA skypeName(mir_t2a(ptrT(psr->id))); + if (skypeName == NULL) + return NULL; + + MCONTACT hContact = AddContact(skypeName); + return hContact; +} MCONTACT CSkypeProto::AddToListByEvent(int, int, MEVENT) { return 0; } -- cgit v1.2.3