provide option to block the public stream unless authenticated, since there could be legal issues with unmoderated content
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user