Added profile picture

This commit is contained in:
Michael 2021-11-16 23:57:12 +00:00
parent 2eca5524e3
commit 2bb1805a67
3 changed files with 7 additions and 7 deletions

View file

@ -128,7 +128,7 @@ class User extends BaseDataTransferObject
$this->favourites_count = 0;
$this->verified = $uid != 0;
$this->statuses_count = $apcontact['statuses_count'] ?? 0;
$this->profile_banner_url = '';
$this->profile_banner_url = Contact::getHeaderUrlForId($publicContact['id'], '', $publicContact['updated']);
$this->default_profile = false;
$this->default_profile_image = false;