aboutsummaryrefslogtreecommitdiff
path: root/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'connection.h')
-rw-r--r--connection.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/connection.h b/connection.h
index fed0b1c4..c5dad246 100644
--- a/connection.h
+++ b/connection.h
@@ -58,7 +58,8 @@ namespace QMatrixClient
Q_INVOKABLE virtual void joinRoom( QString roomAlias );
Q_INVOKABLE virtual void leaveRoom( Room* room );
Q_INVOKABLE virtual RoomMessagesJob* getMessages( Room* room, QString from );
- virtual MediaThumbnailJob* getThumbnail( QUrl url, int requestedWidth, int requestedHeight );
+ virtual MediaThumbnailJob* getThumbnail( QUrl url, QSize requestedSize );
+ MediaThumbnailJob* getThumbnail( QUrl url, int requestedWidth, int requestedHeight );
Q_INVOKABLE QUrl homeserver() const;
Q_INVOKABLE User* user(QString userId);