summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2024-04-05 20:51:02 +0500
committerElzorFox <elzorfox@ya.ru>2024-04-05 20:51:02 +0500
commit39dab6d6def91a71fb632feae36dd1e3ba20f4ff (patch)
treec481d7df492a5cd5504f968535f2c63ebada8a9e /protocols/VKontakte/src
parentbf20bc908d56fd71d482c37fed713d910b87d563 (diff)
VKontakte: return bAsync
Diffstat (limited to 'protocols/VKontakte/src')
-rw-r--r--protocols/VKontakte/src/vk_files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_files.cpp b/protocols/VKontakte/src/vk_files.cpp
index bbcb079bc5..ecf3cd164f 100644
--- a/protocols/VKontakte/src/vk_files.cpp
+++ b/protocols/VKontakte/src/vk_files.cpp
@@ -44,7 +44,7 @@ CMStringW CVkProto::GetVkFileItem(CMStringW& _wszUrl, MCONTACT hContact, VKMessa
wszUrl.Insert(0, buf);
if (::_waccess(wszUrl.c_str(), 0) && IsOnline())
- if (true) {
+ if (bAsync) {
AsyncHttpRequest* pReq = new AsyncHttpRequest();
pReq->flags = NLHRF_NODUMP | NLHRF_REDIRECT;
pReq->m_szUrl = CMStringA(_wszUrl);