diff options
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)
|