mirror of
https://github.com/friendica/friendica
synced 2025-04-30 21:44:22 +02:00
Use the general function ro create an avatar path
This commit is contained in:
parent
98803064eb
commit
9f19adf8bb
2 changed files with 5 additions and 4 deletions
|
@ -2220,7 +2220,7 @@ class Probe
|
|||
$data = [
|
||||
'name' => $profile['name'], 'nick' => $profile['nick'], 'guid' => $approfile['diaspora:guid'] ?? '',
|
||||
'url' => $profile['url'], 'addr' => $profile['addr'], 'alias' => $profile['alias'],
|
||||
'photo' => Contact::getAvatarUrlForId($profile['id'], $profile['updated']),
|
||||
'photo' => Contact::getAvatarUrlForId($profile['id'], '', $profile['updated']),
|
||||
'header' => $profile['header'] ? Contact::getHeaderUrlForId($profile['id'], $profile['updated']) : '',
|
||||
'account-type' => $profile['contact-type'], 'community' => ($profile['contact-type'] == User::ACCOUNT_TYPE_COMMUNITY),
|
||||
'keywords' => $profile['keywords'], 'location' => $profile['location'], 'about' => $profile['about'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue