From 7fec939c23f2a23c8ac123d8a416cb2bde9ffbd9 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 19 Nov 2014 14:41:24 -0800 Subject: 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 --- include/zot.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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'); -- cgit v1.2.3