diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-07-20 12:02:35 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-07-20 12:02:35 +0300 |
commit | d7e5171bfabf48e69112190b7096268222979c1c (patch) | |
tree | 89e09ff0189dbd87f7f203da0a53a52ccbb7fa2a /src/AvatarProvider.cpp | |
parent | Add user avatar after the 'encryption is enabled' message (diff) | |
download | nheko-d7e5171bfabf48e69112190b7096268222979c1c.tar.xz |
Create user profile modal
Diffstat (limited to 'src/AvatarProvider.cpp')
-rw-r--r-- | src/AvatarProvider.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/AvatarProvider.cpp b/src/AvatarProvider.cpp index dbfc1945..57b61c75 100644 --- a/src/AvatarProvider.cpp +++ b/src/AvatarProvider.cpp @@ -50,6 +50,8 @@ resolve(const QString &room_id, const QString &user_id, QObject *receiver, Avata [callback](const QByteArray &data) { callback(QImage::fromData(data)); }); mtx::http::ThumbOpts opts; + opts.width = 256; + opts.height = 256; opts.mxc_url = avatarUrl.toStdString(); http::client()->get_thumbnail( |