Create user profile modal
This commit is contained in:
parent
5540fc0737
commit
d7e5171bfa
27 changed files with 265 additions and 13 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue