From 9d745cd072d3f13e968776f190dd4f7814ae92eb Mon Sep 17 00:00:00 2001 From: zottel Date: Wed, 18 Feb 2015 11:44:43 +0100 Subject: also deliver public posts to channels with channel_w_stream = PERMS_AUTHED --- include/zot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index 852376c4b..3b22fde70 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1315,9 +1315,9 @@ function public_recips($msg) { if($msg['notify']['sender']['url'] === z_root()) - $sql = " where (( " . $col . " & " . PERMS_NETWORK . " )>0 or ( " . $col . " & " . PERMS_SITE . " )>0 or ( " . $col . " & " . PERMS_PUBLIC . ")>0) "; + $sql = " where (( " . $col . " & " . PERMS_NETWORK . " )>0 or ( " . $col . " & " . PERMS_SITE . " )>0 or ( " . $col . " & " . PERMS_PUBLIC . ")>0) or ( " . $col . " & " . PERMS_AUTHED . ")>0) "; else - $sql = " where (( " . $col . " & " . PERMS_NETWORK . " )>0 or ( " . $col . " & " . PERMS_PUBLIC . ")>0) "; + $sql = " where (( " . $col . " & " . PERMS_NETWORK . " )>0 or ( " . $col . " & " . PERMS_PUBLIC . ")>0) or ( " . $col . " & " . PERMS_AUTHED . ")>0) "; $r = q("select channel_hash as hash from channel $sql or channel_hash = '%s' ", -- cgit v1.2.3