forked from friendica/friendica-addons
Merge pull request #1136 from annando/header
Fill the header field of the contact with the twitter banner
This commit is contained in:
commit
17f6c8902b
1 changed files with 1 additions and 0 deletions
|
@ -1217,6 +1217,7 @@ function twitter_user_to_contact($data)
|
||||||
'location' => $data->location,
|
'location' => $data->location,
|
||||||
'about' => $data->description,
|
'about' => $data->description,
|
||||||
'photo' => twitter_fix_avatar($data->profile_image_url_https),
|
'photo' => twitter_fix_avatar($data->profile_image_url_https),
|
||||||
|
'header' => $data->profile_banner_url ?? $data->profile_background_image_url_https,
|
||||||
];
|
];
|
||||||
|
|
||||||
return $fields;
|
return $fields;
|
||||||
|
|
Loading…
Reference in a new issue