forked from blallo/rss-bridge
[TwitterBridge] rename 'pic' parameter to more consistent 'nopic'
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
71d8f4c465
commit
6e66c228f8
1 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ class TwitterBridge extends BridgeAbstract{
|
|||
'[
|
||||
{
|
||||
"name" : "Hide profile pictures",
|
||||
"identifier" : "pic",
|
||||
"identifier" : "nopic",
|
||||
"type" : "checkbox",
|
||||
"required" : false,
|
||||
"exampleValue" : "checked",
|
||||
|
@ -68,8 +68,8 @@ class TwitterBridge extends BridgeAbstract{
|
|||
}
|
||||
|
||||
$hidePictures = false;
|
||||
if (isset($param['pic']))
|
||||
$hidePictures = $param['pic'] === 'on';
|
||||
if (isset($param['nopic']))
|
||||
$hidePictures = $param['nopic'] === 'on';
|
||||
|
||||
foreach($html->find('div.js-stream-tweet') as $tweet) {
|
||||
$item = new \Item();
|
||||
|
|
Loading…
Reference in a new issue