Size images/videos by timeline width
This commit is contained in:
parent
d90038cf20
commit
8ebef4eed2
6 changed files with 46 additions and 12 deletions
|
|
@ -67,8 +67,8 @@ resolve(const QString &avatarUrl, int size, QObject *receiver, AvatarCallback ca
|
|||
});
|
||||
|
||||
mtx::http::ThumbOpts opts;
|
||||
opts.width = 256;
|
||||
opts.height = 256;
|
||||
opts.width = size;
|
||||
opts.height = size;
|
||||
opts.mxc_url = avatarUrl.toStdString();
|
||||
|
||||
http::client()->get_thumbnail(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue