put name for list in the wrong spot, make it a special case

This commit is contained in:
Matt DeMoss 2018-01-03 14:03:42 -05:00
parent feed36ce3f
commit 5ed2f53ddc

View File

@ -77,12 +77,10 @@ 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 $this->getInput($param) . ' - Twitter list by ' . $specific;
return 'Twitter ' . $specific . $this->getInput($param);
}
public function getURI(){