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",
|
"name" : "Hide profile pictures",
|
||||||
"identifier" : "pic",
|
"identifier" : "nopic",
|
||||||
"type" : "checkbox",
|
"type" : "checkbox",
|
||||||
"required" : false,
|
"required" : false,
|
||||||
"exampleValue" : "checked",
|
"exampleValue" : "checked",
|
||||||
|
@ -68,8 +68,8 @@ class TwitterBridge extends BridgeAbstract{
|
||||||
}
|
}
|
||||||
|
|
||||||
$hidePictures = false;
|
$hidePictures = false;
|
||||||
if (isset($param['pic']))
|
if (isset($param['nopic']))
|
||||||
$hidePictures = $param['pic'] === 'on';
|
$hidePictures = $param['nopic'] === 'on';
|
||||||
|
|
||||||
foreach($html->find('div.js-stream-tweet') as $tweet) {
|
foreach($html->find('div.js-stream-tweet') as $tweet) {
|
||||||
$item = new \Item();
|
$item = new \Item();
|
||||||
|
|
Loading…
Reference in a new issue