aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-23 21:07:35 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-23 21:07:35 -0700
commitcc5b0cde1df8f47ccf6db13304ffca25c7ff5f9a (patch)
treebff687980744c0aeffbedc37dd1dc5e88ada940b /include/zot.php
parentc0e67db070ae562f8e717a12faf5df9ecd7160d6 (diff)
parent908da4589dc4961c07d049c97bcfd59bc2973c89 (diff)
downloadvolse-hubzilla-cc5b0cde1df8f47ccf6db13304ffca25c7ff5f9a.tar.gz
volse-hubzilla-cc5b0cde1df8f47ccf6db13304ffca25c7ff5f9a.tar.bz2
volse-hubzilla-cc5b0cde1df8f47ccf6db13304ffca25c7ff5f9a.zip
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Conflicts: include/diaspora.php
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 89d6c6616..0cb3ab9ed 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1256,7 +1256,8 @@ function public_recips($msg) {
$include_sys = false;
if($msg['message']['type'] === 'activity') {
- $include_sys = true;
+ if(! get_config('system','disable_discover_tab'))
+ $include_sys = true;
$col = 'channel_w_stream';
$field = PERMS_W_STREAM;
if(array_key_exists('flags',$msg['message']) && in_array('thread_parent', $msg['message']['flags'])) {