diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-08-05 08:37:43 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-08-05 08:37:43 +0000 |
commit | 5f310e19fd9b3ab199682fda1e4874e1fc2cc158 (patch) | |
tree | ebe58be6e4c3035a8a6b9452be1694fa672dd36b /protocols/VKontakte/src/vk_avatars.cpp | |
parent | e5868034a9b3cefc7b3d785e97b40b5382108fc8 (diff) |
VKontakte:
fix(???) ‘validation required’ error
add support vk-groups contacts
fix (???) rare error with WorkerThread on connection lost
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@17159 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_avatars.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_avatars.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_avatars.cpp b/protocols/VKontakte/src/vk_avatars.cpp index 1bb02b1287..877bf841a2 100644 --- a/protocols/VKontakte/src/vk_avatars.cpp +++ b/protocols/VKontakte/src/vk_avatars.cpp @@ -146,7 +146,7 @@ void CVkProto::GetAvatarFileName(MCONTACT hContact, wchar_t *pwszDest, size_t cb szFileType = p;
}
- LONG id = getDword(hContact, "ID", -1);
+ LONG id = getDword(hContact, "ID", VK_INVALID_USER);
mir_snwprintf(pwszDest + tPathLen, MAX_PATH - tPathLen, L"%d%s", id, szFileType);
}
|