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:
committed by
Hypolite Petovan
parent
6b5d90333f
commit
80ac7da01d
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user