aboutsummaryrefslogtreecommitdiff
path: root/lib/room.cpp
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2021-08-31 00:09:59 +0200
committerTobias Fella <fella@posteo.de>2021-12-01 21:56:59 +0100
commit8636c7028b45ee8de3125bcf4df40ad60ed949a0 (patch)
treea05ffdb2e0e36ef19fd6395834112c72646f7684 /lib/room.cpp
parentb35a736da2b09fe5cc0091f9fbd370d057503a54 (diff)
downloadlibquotient-8636c7028b45ee8de3125bcf4df40ad60ed949a0.tar.gz
libquotient-8636c7028b45ee8de3125bcf4df40ad60ed949a0.zip
Add mxc protocol to the networkaccessmanager
Diffstat (limited to 'lib/room.cpp')
-rw-r--r--lib/room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/room.cpp b/lib/room.cpp
index d7ebe021..688ba5d4 100644
--- a/lib/room.cpp
+++ b/lib/room.cpp
@@ -2409,7 +2409,7 @@ void Room::downloadFile(const QString& eventId, const QUrl& localFilename)
#ifdef Quotient_E2EE_ENABLED
if(fileInfo->file.has_value()) {
auto file = *fileInfo->file;
- job = connection()->downloadFile(fileUrl, file.key.k, file.iv, file.hashes["sha256"], filePath);
+ job = connection()->downloadFile(fileUrl, file, filePath);
} else {
#endif
job = connection()->downloadFile(fileUrl, filePath);