This commit is contained in:
Nicolas Werner 2022-10-26 01:14:46 +02:00
parent b28fa86e6a
commit 9a90f8868f
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
3 changed files with 3 additions and 3 deletions

View file

@ -172,7 +172,7 @@ MxcImageProvider::download(const QString &id,
opts.width = static_cast<uint8_t>(requestedSize.width() > 0 ? requestedSize.width() : -1);
opts.height =
static_cast<uint8_t>(requestedSize.height() > 0 ? requestedSize.height() : -1);
opts.method = crop ? "crop" : "scale";
opts.method = crop ? "crop" : "scale";
http::client()->get_thumbnail(
opts,
[fileInfo, requestedSize, radius, then, id, crop, cropLocally](