Check for remote default avatars as well
This commit is contained in:
parent
a49a35f459
commit
e17ca9cc35
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
if ($default_avatar) {
|
||||||
$avatar = self::getDefaultAvatar($contact, Proxy::SIZE_SMALL);
|
$avatar = self::getDefaultAvatar($contact, Proxy::SIZE_SMALL);
|
||||||
|
|
Loading…
Reference in a new issue