From ecce3b4f533105bd80eb8c812517166e8cd5abc4 Mon Sep 17 00:00:00 2001 From: Arseny Smirnov Date: Fri, 8 Jun 2018 23:15:04 +0300 Subject: [PATCH] FileDownloader: bugfix GitOrigin-RevId: 475a848c68497fdcfc43dfaad6019a271a78b10c --- td/telegram/files/FileDownloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/files/FileDownloader.cpp b/td/telegram/files/FileDownloader.cpp index 891f44f22..f83ca503e 100644 --- a/td/telegram/files/FileDownloader.cpp +++ b/td/telegram/files/FileDownloader.cpp @@ -38,7 +38,7 @@ FileDownloader::FileDownloader(const FullRemoteFileLocation &remote, const Local , callback_(std::move(callback)) , is_small_(is_small) , search_file_(search_file) { - if (!encryption_key.is_secret()) { + if (encryption_key.is_secret()) { set_ordered_flag(true); } }