summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-01-14 17:48:01 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-01-14 17:48:01 +0100
commitcdb11b181914528e3fd52cec5d16e760c863d662 (patch)
tree8b6e2800ead9cbaa9e11a12493be964eee4db181 /src
parentEscape blacklisted html tags (diff)
downloadnheko-cdb11b181914528e3fd52cec5d16e760c863d662.tar.xz
Reduce avatar cache size
Diffstat (limited to 'src')
-rw-r--r--src/AvatarProvider.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/AvatarProvider.cpp b/src/AvatarProvider.cpp
index 1587a9a1..b91657bc 100644
--- a/src/AvatarProvider.cpp
+++ b/src/AvatarProvider.cpp
@@ -31,8 +31,6 @@ namespace AvatarProvider {
 void
 resolve(const QString &avatarUrl, int size, QObject *receiver, AvatarCallback callback)
 {
-        avatar_cache.setCacheLimit(1024 * 1024);
-
         const auto cacheKey = avatarUrl + "_size_" + size;
 
         if (avatarUrl.isEmpty())