Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Cambra <claudio.cambra@nextcloud.com>2022-11-11 23:48:57 +0300
committerClaudio Cambra <claudio.cambra@nextcloud.com>2022-11-11 23:48:57 +0300
commite8acb8970f878594e44d0d1751e4aab8eaf2b4e6 (patch)
tree25161bb2c4881cd58aee71b4ee6e3e49886b0888
parentfd561d7d6162f1ca49057601b433e96033c6f120 (diff)
Don't fail download if check for file encrypted metadata failsbugfix/dont-fail-if-no-e2e-metadata
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
-rw-r--r--src/libsync/propagatedownload.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsync/propagatedownload.cpp b/src/libsync/propagatedownload.cpp
index 0bb179b81..8f1a18c0a 100644
--- a/src/libsync/propagatedownload.cpp
+++ b/src/libsync/propagatedownload.cpp
@@ -476,9 +476,9 @@ void PropagateDownloadFile::start()
_isEncrypted = true;
startAfterIsEncryptedIsChecked();
});
- connect(_downloadEncryptedHelper, &PropagateDownloadEncrypted::failed, [this] {
- done(SyncFileItem::NormalError,
- tr("File %1 cannot be downloaded because encryption information is missing.").arg(QDir::toNativeSeparators(_item->_file)));
+ connect(_downloadEncryptedHelper, &PropagateDownloadEncrypted::failed, [this, path] {
+ qCWarning(lcPropagateDownload) << "File encryption metadata not found for" << path;
+ startAfterIsEncryptedIsChecked();
});
_downloadEncryptedHelper->start();
}