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/connection.cpp | |
parent | b35a736da2b09fe5cc0091f9fbd370d057503a54 (diff) | |
download | libquotient-8636c7028b45ee8de3125bcf4df40ad60ed949a0.tar.gz libquotient-8636c7028b45ee8de3125bcf4df40ad60ed949a0.zip |
Add mxc protocol to the networkaccessmanager
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r-- | lib/connection.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp index 4a1130ae..d8e98bb0 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -1019,15 +1019,13 @@ DownloadFileJob* Connection::downloadFile(const QUrl& url, #ifdef Quotient_E2EE_ENABLED DownloadFileJob* Connection::downloadFile(const QUrl& url, - const QString& key, - const QString& iv, - const QString& sha256, + const EncryptedFile file, const QString& localFilename) { auto mediaId = url.authority() + url.path(); auto idParts = splitMediaId(mediaId); auto* job = - callApi<DownloadFileJob>(idParts.front(), idParts.back(), key, iv, sha256, localFilename); + callApi<DownloadFileJob>(idParts.front(), idParts.back(), file, localFilename); return job; } #endif |