LinkExplorer: Fix to provide privacy-by-default

see #1833

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2022-10-10 14:45:41 +02:00
parent 5055204c24
commit 74b13ee157
1 changed files with 2 additions and 1 deletions

View File

@ -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');
}
/**