$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' => [
'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,
],
];