FileDownloader: bugfix

GitOrigin-RevId: 475a848c68497fdcfc43dfaad6019a271a78b10c
This commit is contained in:
Arseny Smirnov 2018-06-08 23:15:04 +03:00
parent 54e1a4f100
commit ecce3b4f53

View File

@ -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);
}
}