mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 22:28:22 +01:00
This commit is contained in:
parent
93e0562353
commit
90d7ae8776
@ -77,9 +77,7 @@ class TwitterBridge extends BridgeAbstract {
|
||||
$param = 'u';
|
||||
break;
|
||||
case 'By list':
|
||||
$specific = $this->getInput('user');
|
||||
$param = 'list';
|
||||
break;
|
||||
return $this->getInput('list') . ' - Twitter list by ' . $this->getInput('user');
|
||||
default: return parent::getName();
|
||||
}
|
||||
return 'Twitter ' . $specific . $this->getInput($param);
|
||||
@ -165,7 +163,7 @@ class TwitterBridge extends BridgeAbstract {
|
||||
switch($this->queriedContext) {
|
||||
case 'By list':
|
||||
// Check if filter applies to list (using raw content)
|
||||
if(!is_null($this->getInput('filter'))) {
|
||||
if($this->getInput('filter')) {
|
||||
if(stripos($tweet->find('p.js-tweet-text', 0)->plaintext, $this->getInput('filter')) === false) {
|
||||
continue 2; // switch + for-loop!
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user