[TwitterBridge] Add retweeter to retweeted tweets (#1679)

This commit is contained in:
triatic 2020-08-20 06:00:27 +01:00 committed by GitHub
parent 0b1e592a5e
commit 73287f536b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -225,6 +225,9 @@ EOD
$item['username'] = $user_info->screen_name; $item['username'] = $user_info->screen_name;
$item['fullname'] = $user_info->name; $item['fullname'] = $user_info->name;
$item['author'] = $item['fullname'] . ' (@' . $item['username'] . ')'; $item['author'] = $item['fullname'] . ' (@' . $item['username'] . ')';
if (null !== $this->getInput('u') && $item['username'] != $this->getInput('u')) {
$item['author'] .= ' RT: @' . $this->getInput('u');
}
$item['avatar'] = $user_info->profile_image_url_https; $item['avatar'] = $user_info->profile_image_url_https;
$item['id'] = $tweet->id_str; $item['id'] = $tweet->id_str;