diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-09-17 10:30:51 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-09-17 10:30:51 +0000 |
commit | f2f109ef851c68b7f9ff53a179a7e75311cd2d1a (patch) | |
tree | fac94a12dca7ad8aacf09ccadd0615f95bb30b01 /protocols/VKontakte/src/vk_proto.cpp | |
parent | 5172bf214fcba35685070a0ab9ce9e212084823a (diff) |
VKontakte: Add search by name support
git-svn-id: http://svn.miranda-ng.org/main/trunk@10492 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 5afa14dedf..e8f01b8897 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -345,7 +345,10 @@ HANDLE CVkProto::SearchByEmail(const PROTOCHAR* email) HANDLE CVkProto::SearchByName(const PROTOCHAR* nick, const PROTOCHAR* firstName, const PROTOCHAR* lastName)
{
- return 0;
+ TCHAR arg[200]; + mir_sntprintf(arg, SIZEOF(arg), _T("%s %s %s"), nick, firstName, lastName);
+ ForkThread(&CVkProto::SearchByStringThread, (void *)arg);
+ return (HANDLE)1;
}
MCONTACT CVkProto::AddToList(int flags, PROTOSEARCHRESULT* psr)
|