From: Hypolite Petovan Date: Sat, 16 Oct 2021 20:00:41 +0000 (-0400) Subject: Switch available contact selection to private-supporting networks in ACL X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=66c0431144070b563e5842a1449098a4b9101a1a;p=friendica.git Switch available contact selection to private-supporting networks in ACL --- diff --git a/src/Core/ACL.php b/src/Core/ACL.php index 9453dc6590..347e8278f9 100644 --- a/src/Core/ACL.php +++ b/src/Core/ACL.php @@ -62,8 +62,6 @@ class ACL $page->registerStylesheet(Theme::getPathForFile('js/friendica-tagsinput/friendica-tagsinput.css')); $page->registerStylesheet(Theme::getPathForFile('js/friendica-tagsinput/friendica-tagsinput-typeahead.css')); - // When used for private messages, we limit correspondence to mutual DFRN/Friendica friends and the selector - // to one recipient. By default our selector allows multiple selects amongst all contacts. $condition = [ 'uid' => local_user(), 'self' => false, @@ -72,7 +70,7 @@ class ACL 'archive' => false, 'deleted' => false, 'rel' => [Contact::FOLLOWER, Contact::SHARING, Contact::FRIEND], - 'network' => Protocol::FEDERATED, + 'network' => Protocol::SUPPORT_PRIVATE, ]; $contacts = Contact::selectToArray(