summary refs log tree commit diff
diff options
context:
space:
mode:
-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())