admins can mark their nodes for explicit content (#5373)
* added field explicidContent to the metadata in the nodeinfo * admins can mark their nodes for explicit content * booleans shall be small
This commit is contained in:
parent
6b5d90333f
commit
80ac7da01d
7 changed files with 16 additions and 1 deletions
|
|
@ -141,6 +141,8 @@ function nodeinfo_init(App $a) {
|
|||
if (Addon::isEnabled('twitter')) {
|
||||
$nodeinfo['metadata']['services']['inbound'][] = 'twitter';
|
||||
}
|
||||
|
||||
$nodeinfo['metadata']['explicitContent'] = Config::get('system', 'explicit_content', false) == true;
|
||||
}
|
||||
|
||||
header('Content-type: application/json; charset=utf-8');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue