diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-11-19 20:26:54 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-11-19 20:26:54 +0100 |
commit | ebbd8f3341f59e4134ca2cec07cbb730049f1c34 (patch) | |
tree | b252be5e52efcf49e44d9e320f04a28face597dc /src | |
parent | Upgrade trust of megolm sessions when receiving RoomKey (diff) | |
download | nheko-ebbd8f3341f59e4134ca2cec07cbb730049f1c34.tar.xz |
Fix some round images being persisted as not round
Diffstat (limited to 'src')
-rw-r--r-- | src/MxcImageProvider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MxcImageProvider.cpp b/src/MxcImageProvider.cpp index 8f930c1a..05c2bbe7 100644 --- a/src/MxcImageProvider.cpp +++ b/src/MxcImageProvider.cpp @@ -181,7 +181,7 @@ MxcImageProvider::download(const QString &id, .arg(requestedSize.width()) .arg(requestedSize.height()) .arg(crop ? "crop" : "scale") - .arg(cropLocally ? 0 : radius); + .arg(radius); QFileInfo fileInfo(QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + "/media_cache", fileName); |