Renamed to 'public' after feedback

This commit is contained in:
Roland Häder 2023-07-26 09:44:39 +02:00
parent bcd2b1c523
commit 3111c2fd5c
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
2 changed files with 4 additions and 4 deletions

View file

@ -94,7 +94,7 @@ class Friendica extends BaseModule
$blockList = $this->config->get('system', 'blocklist') ?? [];
if (!empty($blockList) && ($this->config->get('blocklist', 'published') || $this->session->isAuthenticated())) {
if (!empty($blockList) && ($this->config->get('blocklist', 'public') || $this->session->isAuthenticated())) {
$blocked = [
'title' => $this->t('On this server the following remote servers are blocked.'),
'header' => [

View file

@ -787,8 +787,8 @@ return [
'mastodon_banner' => '/images/friendica-banner.jpg',
],
'blocklist' => [
// published (Boolean)
// Wether the blocklist is published under /about (or any later API)
'published' => true,
// public (Boolean)
// Wether the blocklist is publicly listed under /about (or in any later API)
'public' => true,
],
];