mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 03:16:33 +03:00
Don't hide quoting tweets when 'hide retweets' is selected (#2706)
This commit is contained in:
parent
0ce71d561d
commit
d107592094
1 changed files with 3 additions and 2 deletions
|
@ -330,11 +330,12 @@ EOD
|
|||
}
|
||||
|
||||
// Check if Retweet or Reply
|
||||
$retweetTypes = array('retweeted', 'quoted');
|
||||
//$retweetTypes = array('retweeted', 'quoted');
|
||||
$isRetweet = false;
|
||||
$isReply = false;
|
||||
if(isset($tweet->referenced_tweets)) {
|
||||
if(in_array($tweet->referenced_tweets[0]->type, $retweetTypes)) {
|
||||
//if(in_array($tweet->referenced_tweets[0]->type, $retweetTypes)) {
|
||||
if($tweet->referenced_tweets[0]->type === 'retweeted') {
|
||||
$isRetweet = true;
|
||||
} elseif ($tweet->referenced_tweets[0]->type === 'replied_to') {
|
||||
$isReply = true;
|
||||
|
|
Loading…
Reference in a new issue