diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 12 |
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; }
|