1
0
Fork 0

search privacy enhancements for those with blocked walls

This commit is contained in:
friendica 2013-01-27 13:14:13 -08:00
commit c9cce9873d
2 changed files with 7 additions and 3 deletions

View file

@ -248,6 +248,10 @@ function item_post(&$a) {
$private = ((strlen($str_group_allow) || strlen($str_contact_allow) || strlen($str_group_deny) || strlen($str_contact_deny)) ? 1 : 0);
if($user['hidewall'])
$private = 2;
// If this is a comment, set the permissions from the parent.
if($parent_item) {