mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:10:12 +00:00
Fix noscrape publishing and pulling, added header
This commit is contained in:
parent
5419d1d426
commit
fe07dc828b
16 changed files with 36 additions and 28 deletions
|
@ -114,9 +114,8 @@ class Account extends BaseDataTransferObject
|
|||
$this->url = $publicContact['url'];
|
||||
$this->avatar = $userContact['avatar'] ?? $publicContact['avatar'];
|
||||
$this->avatar_static = $userContact['avatar'] ?? $publicContact['avatar'];
|
||||
// No header picture in Friendica
|
||||
$this->header = '';
|
||||
$this->header_static = '';
|
||||
$this->header = ($userContact['header'] ?? $publicContact['header']) ?? '';
|
||||
$this->header_static = ($userContact['header'] ?? $publicContact['header']) ?? '';
|
||||
$this->followers_count = $apcontact['followers_count'] ?? 0;
|
||||
$this->following_count = $apcontact['following_count'] ?? 0;
|
||||
$this->statuses_count = $apcontact['statuses_count'] ?? 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue