]> git.mxchange.org Git - friendica-addons.git/blobdiff - twitter/twitter.php
Merge pull request #1137 from friendica/dependabot/composer/phpmailer/phpmailer/phpma...
[friendica-addons.git] / twitter / twitter.php
index d6867e73ae7f028641c88d44fcf32bf8ddc96f1b..e972d692bf5806cdb33c01d1c93c3de331999dea 100644 (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;