X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=include%2Facl_selectors.php;h=b1bcf510864d2907b8d42d74d6b5ed0224d15ee6;hb=150830d38c2191d2e55a373043af176208d4b430;hp=fa700818ff99f7fc0f76a0f8ea1c4a0ec7a54714;hpb=a2ee5ebe427522228dc03dc81da11f348a399c4d;p=friendica.git diff --git a/include/acl_selectors.php b/include/acl_selectors.php index fa700818ff..b1bcf51086 100644 --- a/include/acl_selectors.php +++ b/include/acl_selectors.php @@ -48,7 +48,7 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p $o = ''; - // When used for private messages, we limit correspondence to mutual friends and the selector + // When used for private messages, we limit correspondence to mutual DFRN/Friendika friends and the selector // to one recipient. By default our selector allows multiple selects amongst all contacts. $sql_extra = ''; @@ -57,9 +57,12 @@ function contact_select($selname, $selclass, $preselected = false, $size = 4, $p $sql_extra .= sprintf(" AND `rel` = %d ", intval(REL_BUD)); } - if($privmail || $privatenet) { + if($privmail) { $sql_extra .= " AND `network` IN ( 'dfrn' ) "; - } + } + elseif($privatenet) { + $sql_extra .= " AND `network` IN ( 'dfrn', 'mail', 'face' ) "; + } if($privmail) $o .= "