]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/ACL.php
Merge pull request #10040 from annando/file-permissions
[friendica.git] / src / Core / ACL.php
index 5f69d78b683921cccca5c75a9d3a3340d1bd700e..0da636699e690d71116d823688cf0e6f2984e1ae 100644 (file)
@@ -144,6 +144,7 @@ class ACL
                                'archive' => false,
                                'deleted' => false,
                                'pending' => false,
+                               'network' => Protocol::FEDERATED,
                                'rel' => [Contact::FOLLOWER, Contact::FRIEND]
                        ], $condition),
                        $params
@@ -156,7 +157,7 @@ class ACL
 
                $acl_forums = Contact::selectToArray($fields,
                        ['uid' => $user_id, 'self' => false, 'blocked' => false, 'archive' => false, 'deleted' => false,
-                       'pending' => false, 'contact-type' => Contact::TYPE_COMMUNITY], $params
+                       'network' => Protocol::FEDERATED, 'pending' => false, 'contact-type' => Contact::TYPE_COMMUNITY], $params
                );
 
                $acl_contacts = array_merge($acl_forums, $acl_contacts);