mirror of
https://github.com/friendica/friendica
synced 2024-11-09 17:02:54 +00:00
Added profile picture
This commit is contained in:
parent
2eca5524e3
commit
2bb1805a67
3 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ class FriendSuggestTest extends MockedTest
|
|||
'',
|
||||
'',
|
||||
'',
|
||||
new \DateTime('now', new \DateTimeZone('URC')),
|
||||
new \DateTime('now', new \DateTimeZone('UTC')),
|
||||
28
|
||||
),
|
||||
],
|
||||
|
|
|
@ -226,7 +226,7 @@ class ContactEndpointTest extends FixtureTest
|
|||
],
|
||||
'description' => '',
|
||||
'protected' => false,
|
||||
'verified' => false,
|
||||
'verified' => true,
|
||||
'followers_count' => 0,
|
||||
'friends_count' => 0,
|
||||
'listed_count' => 0,
|
||||
|
@ -234,12 +234,12 @@ class ContactEndpointTest extends FixtureTest
|
|||
'statuses_count' => 0,
|
||||
'created_at' => 'Fri Feb 02 00:00:00 +0000 0000',
|
||||
'profile_banner_url' => '',
|
||||
'profile_image_url_https' => '',
|
||||
'profile_image_url_https' => 'http://localhost/photo/contact/48/44?ts=-62135596800',
|
||||
'default_profile' => false,
|
||||
'default_profile_image' => false,
|
||||
'profile_image_url' => '',
|
||||
'profile_image_url_profile_size' => '',
|
||||
'profile_image_url_large' => '',
|
||||
'profile_image_url' => 'http://localhost/photo/contact/48/44?ts=-62135596800',
|
||||
'profile_image_url_profile_size' => 'http://localhost/photo/contact/80/44?ts=-62135596800',
|
||||
'profile_image_url_large' => 'http://localhost/photo/contact/1024/44?ts=-62135596800',
|
||||
'utc_offset' => 0,
|
||||
'time_zone' => 'UTC',
|
||||
'geo_enabled' => false,
|
||||
|
|
Loading…
Reference in a new issue