aboutsummaryrefslogtreecommitdiff
path: root/jobs/mediathumbnailjob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/mediathumbnailjob.h')
-rw-r--r--jobs/mediathumbnailjob.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/jobs/mediathumbnailjob.h b/jobs/mediathumbnailjob.h
index 66960b75..ef834cd7 100644
--- a/jobs/mediathumbnailjob.h
+++ b/jobs/mediathumbnailjob.h
@@ -27,7 +27,9 @@ namespace QMatrixClient
class MediaThumbnailJob: public GetContentThumbnailJob
{
public:
- MediaThumbnailJob(QUrl url, QSize requestedSize);
+ MediaThumbnailJob(const QString& serverName, const QString& mediaId,
+ QSize requestedSize);
+ MediaThumbnailJob(const QUrl& mxcUri, QSize requestedSize);
QImage thumbnail() const;
QImage scaledThumbnail(QSize toSize) const;