From 805dc8e6bdc0088caf4509d546365c203d528cb5 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 8 May 2022 09:34:30 +0000 Subject: [PATCH] Fix config call --- src/Model/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 25af61dece..c00c6b2e8a 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -1608,7 +1608,7 @@ class Contact { $contact = self::checkAvatarCacheByArray($contact, $no_update); - if (!DI::config()->get('system', 'avatar_cache')) { + if (DI::config()->get('system', 'avatar_cache')) { switch ($size) { case Proxy::SIZE_MICRO: if (self::getAvatarFile($contact['micro'])) {