From 4f5b0e5458a2f305a7f4f3908ae2a40e851ceb49 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Tue, 8 Sep 2015 13:59:13 +0000 Subject: VKontakte: fix upload docs git-svn-id: http://svn.miranda-ng.org/main/trunk@15305 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/VKontakte') diff --git a/protocols/VKontakte/src/vk_files.cpp b/protocols/VKontakte/src/vk_files.cpp index 2423899ddb..1a57917749 100644 --- a/protocols/VKontakte/src/vk_files.cpp +++ b/protocols/VKontakte/src/vk_files.cpp @@ -251,7 +251,7 @@ void CVkProto::OnReciveUpload(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq) return; } - if (!jnRoot["server"] || !jnRoot["hash"]) { + if ((!jnRoot["server"] || !jnRoot["hash"]) && !jnRoot["file"]) { SendFileFiled(fup, VKERR_INVALID_PARAMETERS); return; } -- cgit v1.2.3