mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10: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
|
@ -26,7 +26,6 @@ use Friendica\Core\Protocol;
|
|||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\User;
|
||||
|
||||
/**
|
||||
|
@ -81,7 +80,7 @@ class NoScrape extends BaseModule
|
|||
$keywords = explode(',', $keywords);
|
||||
|
||||
$json_info['fn'] = $profile['name'];
|
||||
$json_info['photo'] = Contact::getAvatarUrlForUrl($profile['url'], $profile['uid']);
|
||||
$json_info['photo'] = User::getAvatarUrlForId($profile['uid']);
|
||||
$json_info['tags'] = $keywords;
|
||||
$json_info['language'] = $profile['language'];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue