summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-11-19 20:26:54 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2023-11-19 20:26:54 +0100
commitebbd8f3341f59e4134ca2cec07cbb730049f1c34 (patch)
treeb252be5e52efcf49e44d9e320f04a28face597dc /src
parentUpgrade trust of megolm sessions when receiving RoomKey (diff)
downloadnheko-ebbd8f3341f59e4134ca2cec07cbb730049f1c34.tar.xz
Fix some round images being persisted as not round
Diffstat (limited to 'src')
-rw-r--r--src/MxcImageProvider.cpp2
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);