- Address https://github.com/friendica/friendica/issues/11218#issuecomment-
1039512291
}
}
- If (($contact['uid'] != 0) && empty($contact['photo']) && empty($contact['avatar'])) {
+ if (!empty($contact['uid']) && empty($contact['photo']) && empty($contact['avatar'])) {
$contact = Contact::getByURL($contact['url'], false, ['avatar', 'photo', 'xmpp', 'addr']);
}
+
if (!empty($contact['photo']) && !empty($contact['avatar'])) {
// Fetch photo directly
$resourceid = MPhoto::ridFromURI($contact['photo']);