Fill the header field of the contact with the twitter banner #1136

Merged
annando merged 1 commit from header into 2021.06-rc 2021-06-22 17:19:59 +02:00

View file

@ -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;