aboutsummaryrefslogtreecommitdiff
path: root/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'user.h')
-rw-r--r--user.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/user.h b/user.h
index 37977e08..fa85d778 100644
--- a/user.h
+++ b/user.h
@@ -84,7 +84,8 @@ namespace QMatrixClient
const Avatar& avatarObject() const;
Q_INVOKABLE QImage avatar(int dimension);
- Q_INVOKABLE QImage avatar(int requestedWidth, int requestedHeight);
+ Q_INVOKABLE QImage avatar(int width, int height);
+ QImage avatar(int width, int height, Avatar::get_callback_t callback);
QString avatarMediaId() const;
QUrl avatarUrl() const;