diff options
author | zottel <github@zottel.net> | 2015-02-18 11:44:43 +0100 |
---|---|---|
committer | zottel <github@zottel.net> | 2015-02-18 11:44:43 +0100 |
commit | 9d745cd072d3f13e968776f190dd4f7814ae92eb (patch) | |
tree | 6dfc594c6ef9443033ad667e7f296b63f37e9c2f /include/zot.php | |
parent | e00be4de2353e1ca58570bf37fd247ff99fa549f (diff) | |
download | volse-hubzilla-9d745cd072d3f13e968776f190dd4f7814ae92eb.tar.gz volse-hubzilla-9d745cd072d3f13e968776f190dd4f7814ae92eb.tar.bz2 volse-hubzilla-9d745cd072d3f13e968776f190dd4f7814ae92eb.zip |
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..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' ", |