mirror of https://github.com/nextcloud/bookmarks
LinkExplorer: Fix to provide privacy-by-default
see #1833 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
5055204c24
commit
74b13ee157
|
@ -22,6 +22,7 @@ class LinkExplorer {
|
|||
private $logger;
|
||||
|
||||
private $config;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -33,7 +34,7 @@ class LinkExplorer {
|
|||
$this->linkPreview->getParser('general')->setMinimumImageDimensions(150, 550);
|
||||
$this->logger = $logger;
|
||||
$this->config = $config;
|
||||
$this->enabled = $config->getAppValue('bookmarks', 'privacy.enableScraping', true);
|
||||
$this->enabled = $config->getAppValue('bookmarks', 'privacy.enableScraping', 'false');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue