diff options
Diffstat (limited to 'jobs/downloadfilejob.cpp')
-rw-r--r-- | jobs/downloadfilejob.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jobs/downloadfilejob.cpp b/jobs/downloadfilejob.cpp index 06fa3b48..07d14197 100644 --- a/jobs/downloadfilejob.cpp +++ b/jobs/downloadfilejob.cpp @@ -20,6 +20,11 @@ class DownloadFileJob::Private QScopedPointer<QFile> tempFile; }; +QUrl DownloadFileJob::makeRequestUrl(QUrl baseUrl, const QUrl& mxcUri) +{ + return makeRequestUrl(baseUrl, mxcUri.authority(), mxcUri.path().mid(1)); +} + DownloadFileJob::DownloadFileJob(const QString& serverName, const QString& mediaId, const QString& localFilename) |