[TwitterBridge] Add retweeter to retweeted tweets (#1679)
This commit is contained in:
parent
0b1e592a5e
commit
73287f536b
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue