Check for remote default avatars as well

This commit is contained in:
Michael 2020-12-07 07:14:09 +00:00
parent a49a35f459
commit e17ca9cc35

View file

@ -1678,7 +1678,7 @@ class Contact
}
}
$default_avatar = empty($avatar) || ($avatar == DI::baseUrl() . self::DEFAULT_AVATAR_PHOTO);
$default_avatar = empty($avatar) || strpos($avatar, self::DEFAULT_AVATAR_PHOTO);
if ($default_avatar) {
$avatar = self::getDefaultAvatar($contact, Proxy::SIZE_SMALL);