summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-10 12:54:49 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-10 12:54:49 +0000
commit22cfb3b9a633f870140298bf174cdf0a1869f5f8 (patch)
tree1116f9695a44e335ef31cb4c138e68d6d9fd5da4 /protocols
parent442d81842849999e4dd17f601d83c8441338a79c (diff)
SkypeWeb: Adding contacts by search.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12731 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.cpp12
1 files changed, 11 insertions, 1 deletions
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; }