From ed3310ada6cdc4b554ce1be4542ca25a3dd5bce0 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 3 Sep 2014 22:15:44 -0700 Subject: remove feed items from ACL selector - there's nothing we can do with them and if we were to try we'd have to binary pack all the hashes --- mod/acl.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mod/acl.php b/mod/acl.php index fa399a9b5..5658a05c5 100644 --- a/mod/acl.php +++ b/mod/acl.php @@ -225,6 +225,11 @@ function acl_init(&$a){ if(count($r)) { foreach($r as $g){ + + // remove RSS feeds from ACLs - they are inaccessible + if(strpos($g['hash'],'/')) + continue; + if(($g['abook_their_perms'] & PERMS_W_TAGWALL) && $type == 'c') { $contacts[] = array( "type" => "c", -- cgit v1.2.3