diff options
author | RedMatrix <info@friendica.com> | 2015-02-19 13:40:41 +1100 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2015-02-19 13:40:41 +1100 |
commit | 6dfc41ac7ad23a06b1d7abc3352d2e4bed005ada (patch) | |
tree | 4eb42e6606163934a8295f91ee32e7f8ac104917 /include/zot.php | |
parent | 4a75d2d754166f536093002338f62105d4975b55 (diff) | |
parent | d0fe0b5d5f8e2210297458f18884694d66aec8d9 (diff) | |
download | volse-hubzilla-6dfc41ac7ad23a06b1d7abc3352d2e4bed005ada.tar.gz volse-hubzilla-6dfc41ac7ad23a06b1d7abc3352d2e4bed005ada.tar.bz2 volse-hubzilla-6dfc41ac7ad23a06b1d7abc3352d2e4bed005ada.zip |
Merge pull request #901 from zzottel/master
also deliver public posts to channels with channel_w_stream = PERMS_AUTHED
Diffstat (limited to 'include/zot.php')
-rw-r--r-- | include/zot.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php index 852376c4b..98b54a04c 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' ", |