provide option to block the public stream unless authenticated, since there could be legal issues with unmoderated content

This commit is contained in:
zotlabs
2018-02-14 15:32:33 -08:00
parent 24da5d82db
commit 465d89129c
8 changed files with 41 additions and 12 deletions

View File

@@ -974,7 +974,7 @@ function author_is_pmable($xchan, $abook) {
if($x['result'] !== 'unset')
return $x['result'];
if($xchan['xchan_network'] === 'zot')
if($xchan['xchan_network'] === 'zot' && get_observer_hash())
return true;
return false;