From 90311dbf24682ddf018d5704e44fc11369051ea1 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 18 Jul 2017 22:01:22 +0300 Subject: [PATCH] Fix CDN file download. --- Telegram/SourceFiles/storage/file_download.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/storage/file_download.cpp b/Telegram/SourceFiles/storage/file_download.cpp index ae7993da4..3ba5ab641 100644 --- a/Telegram/SourceFiles/storage/file_download.cpp +++ b/Telegram/SourceFiles/storage/file_download.cpp @@ -715,7 +715,7 @@ void mtpFileLoader::changeCDNParams(int offset, MTP::DcId dcId, const QByteArray resendOffsets.push_back(resendOffset); } for (auto resendOffset : resendOffsets) { - makeRequest(offset); + makeRequest(resendOffset); } } makeRequest(offset);