aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-19 14:41:24 -0800
committerfriendica <info@friendica.com>2014-11-19 14:41:24 -0800
commit7fec939c23f2a23c8ac123d8a416cb2bde9ffbd9 (patch)
tree7462745090eb9eda756c93e467bf8930eb3e61cf /include
parent4893e64c1e871e22385e2c3db2d0815d872858fa (diff)
downloadvolse-hubzilla-7fec939c23f2a23c8ac123d8a416cb2bde9ffbd9.tar.gz
volse-hubzilla-7fec939c23f2a23c8ac123d8a416cb2bde9ffbd9.tar.bz2
volse-hubzilla-7fec939c23f2a23c8ac123d8a416cb2bde9ffbd9.zip
couple of fixes:
- significantly increase the content availability on the discover channel - fix the button group on the blog/list mode which made the border on a single comment button a bit wonky
Diffstat (limited to 'include')
-rw-r--r--include/zot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index d5789438c..1f121802a 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1428,8 +1428,13 @@ function process_delivery($sender,$arr,$deliveries,$relay,$public = false,$reque
continue;
}
+
$channel = $r[0];
+ // allow public postings to the sys channel regardless of permissions
+ if(($channel['channel_pageflags'] & PAGE_SYSTEM) && (! $arr['item_private']))
+ $public = true;
+
$tag_delivery = tgroup_check($channel['channel_id'],$arr);
$perm = (($arr['mid'] == $arr['parent_mid']) ? 'send_stream' : 'post_comments');