Fix config call

This commit is contained in:
Michael 2022-05-08 09:34:30 +00:00
parent dd422a1e03
commit 805dc8e6bd
1 changed files with 1 additions and 1 deletions

View File

@ -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'])) {