Check for remote default avatars as well
This commit is contained in:
parent
a49a35f459
commit
e17ca9cc35
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue