mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-23 09:00:15 +00:00
Fill the header field of the contact with the twitter banner
This commit is contained in:
parent
0d4c95b7bc
commit
b4839e8a37
1 changed files with 1 additions and 0 deletions
|
@ -1217,6 +1217,7 @@ function twitter_user_to_contact($data)
|
|||
'location' => $data->location,
|
||||
'about' => $data->description,
|
||||
'photo' => twitter_fix_avatar($data->profile_image_url_https),
|
||||
'header' => $data->profile_banner_url ?? $data->profile_background_image_url_https,
|
||||
];
|
||||
|
||||
return $fields;
|
||||
|
|
Loading…
Reference in a new issue