diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-02-05 22:30:59 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-05 22:30:59 +0900 |
commit | 898f0c73b4d76c091e48c5e767b94d6ad18f582f (patch) | |
tree | 965074fffd32cae0dba11c494ae65b3c67bef28b /jobs/mediathumbnailjob.h | |
parent | 818fbda8c43fa76ede72db2e941ec81fe093cc59 (diff) | |
parent | f6b55a3c8fc60dd263954df3359027eff2ef1e18 (diff) | |
download | libquotient-898f0c73b4d76c091e48c5e767b94d6ad18f582f.tar.gz libquotient-898f0c73b4d76c091e48c5e767b94d6ad18f582f.zip |
Merge pull request #170 from QMatrixClient/kitsune-expose-download-urls
Expose download URLs
Diffstat (limited to 'jobs/mediathumbnailjob.h')
-rw-r--r-- | jobs/mediathumbnailjob.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jobs/mediathumbnailjob.h b/jobs/mediathumbnailjob.h index ef834cd7..6e0b94f3 100644 --- a/jobs/mediathumbnailjob.h +++ b/jobs/mediathumbnailjob.h @@ -27,6 +27,10 @@ namespace QMatrixClient class MediaThumbnailJob: public GetContentThumbnailJob { public: + using GetContentThumbnailJob::makeRequestUrl; + static QUrl makeRequestUrl(QUrl baseUrl, + const QUrl& mxcUri, QSize requestedSize); + MediaThumbnailJob(const QString& serverName, const QString& mediaId, QSize requestedSize); MediaThumbnailJob(const QUrl& mxcUri, QSize requestedSize); |