mirror of
https://github.com/friendica/friendica
synced 2025-04-26 04:30:11 +00:00
Issue 10720: Use different path scheme for user avatars
This commit is contained in:
parent
9b19fb9b4d
commit
a91e3f5dbc
12 changed files with 84 additions and 34 deletions
|
@ -370,7 +370,7 @@ class Transmitter
|
|||
'owner' => $owner['url'],
|
||||
'publicKeyPem' => $owner['pubkey']];
|
||||
$data['endpoints'] = ['sharedInbox' => DI::baseUrl() . '/inbox'];
|
||||
$data['icon'] = ['type' => 'Image', 'url' => Contact::getAvatarUrlForId($owner['id'], '', $owner['updated'])];
|
||||
$data['icon'] = ['type' => 'Image', 'url' => User::getAvatarUrlForId($uid)];
|
||||
|
||||
$resourceid = Photo::ridFromURI($owner['photo']);
|
||||
if (!empty($resourceid)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue