aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-14 15:32:33 -0800
committerzotlabs <mike@macgirvin.com>2018-02-14 15:32:33 -0800
commit465d89129caaaa0240229f8d6f81d68f26eb60b0 (patch)
tree2d547ae70a283f6cc0c92c10863b6c837f522d4d /include/conversation.php
parent24da5d82db8316a54ccb41616e0e2acb5d73fc84 (diff)
downloadvolse-hubzilla-465d89129caaaa0240229f8d6f81d68f26eb60b0.tar.gz
volse-hubzilla-465d89129caaaa0240229f8d6f81d68f26eb60b0.tar.bz2
volse-hubzilla-465d89129caaaa0240229f8d6f81d68f26eb60b0.zip
provide option to block the public stream unless authenticated, since there could be legal issues with unmoderated content
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 77694deb3..0bb9c769a 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -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;