diff options
author | Tobias Fella <fella@posteo.de> | 2021-08-31 00:09:59 +0200 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2021-12-01 21:56:59 +0100 |
commit | 8636c7028b45ee8de3125bcf4df40ad60ed949a0 (patch) | |
tree | a05ffdb2e0e36ef19fd6395834112c72646f7684 /lib/jobs/downloadfilejob.h | |
parent | b35a736da2b09fe5cc0091f9fbd370d057503a54 (diff) | |
download | libquotient-8636c7028b45ee8de3125bcf4df40ad60ed949a0.tar.gz libquotient-8636c7028b45ee8de3125bcf4df40ad60ed949a0.zip |
Add mxc protocol to the networkaccessmanager
Diffstat (limited to 'lib/jobs/downloadfilejob.h')
-rw-r--r-- | lib/jobs/downloadfilejob.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/jobs/downloadfilejob.h b/lib/jobs/downloadfilejob.h index f000b991..67a3e95f 100644 --- a/lib/jobs/downloadfilejob.h +++ b/lib/jobs/downloadfilejob.h @@ -4,6 +4,7 @@ #pragma once #include "csapi/content-repo.h" +#include "events/encryptedfile.h" namespace Quotient { class DownloadFileJob : public GetContentJob { @@ -15,7 +16,7 @@ public: const QString& localFilename = {}); #ifdef Quotient_E2EE_ENABLED - DownloadFileJob(const QString& serverName, const QString& mediaId, const QString& key, const QString& iv, const QString& sha256, const QString& localFilename = {}); + DownloadFileJob(const QString& serverName, const QString& mediaId, const EncryptedFile file, const QString& localFilename = {}); #endif QString targetFileName() const; |