aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppFileSharingManager.cpp
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2023-02-23 12:46:34 +0100
committerLinus Jahn <lnj@kaidan.im>2023-02-23 12:46:34 +0100
commite8f4e4b6ad97227f2f248014e0f0d58a51305e7d (patch)
tree992616e7483c177b9e59344ec4ed33c0d6d6cc99 /src/client/QXmppFileSharingManager.cpp
parent450a08ff7f6c7889e2fc745666eec02bafd7998f (diff)
parenta06db8e3469a0c7acd8f5e6bc6502ad16f1d59b8 (diff)
Merge branch '1.5'
Diffstat (limited to 'src/client/QXmppFileSharingManager.cpp')
-rw-r--r--src/client/QXmppFileSharingManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/QXmppFileSharingManager.cpp b/src/client/QXmppFileSharingManager.cpp
index 7924f9eb..660ea5e2 100644
--- a/src/client/QXmppFileSharingManager.cpp
+++ b/src/client/QXmppFileSharingManager.cpp
@@ -566,7 +566,7 @@ std::shared_ptr<QXmppFileDownload> QXmppFileSharingManager::downloadFile(
std::move(file),
transform(download->d->hashes, [](auto hash) { return hash; }));
- await(download->d->hashesFuture, this, [download = std::move(download)](HashVerificationResultPtr hashResult) {
+ await(download->d->hashesFuture, this, [download](HashVerificationResultPtr hashResult) {
auto convert = overloaded {
[](HashVerificationResult::NoStrongHashes) {
return QXmppFileDownload::Downloaded {