diff options
author | George Hazan <george.hazan@gmail.com> | 2014-08-27 18:45:45 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-08-27 18:45:45 +0000 |
commit | ee46b2da0a78717c9ac1ca0739fe7f1f666377ce (patch) | |
tree | 894530e91c09ce757e3870e6ad41b5f01e542554 /protocols/VKontakte/src/vk_proto.cpp | |
parent | d7d76938e05d7170668f4f950c40d65c47d1bb64 (diff) |
VKontakte:
- fix for long chat messages;
- fix for retrieveing user info on adding
git-svn-id: http://svn.miranda-ng.org/main/trunk@10332 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 033eb42dbb..6d36ad8d0b 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -335,8 +335,11 @@ int CVkProto::FileResume(HANDLE hTransfer,int *action,const PROTOCHAR **filename int CVkProto::GetInfo(MCONTACT hContact, int infoType)
{
- // TODO: Most probably some ProtoAck should be here instead
- return 1;
+ LONG userID = getDword(hContact, "ID", -1);
+ if (userID == -1)
+ return 1;
+ RetrieveUserInfo(userID);
+ return 0;
}
HWND CVkProto::SearchAdvanced(HWND owner)
|