Create user profile modal

This commit is contained in:
Konstantinos Sideris 2018-07-20 12:02:35 +03:00
parent 5540fc0737
commit d7e5171bfa
27 changed files with 265 additions and 13 deletions

View file

@ -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(