don't block private posts to logged in users on the local hub
This commit is contained in:
parent
ccb465eccd
commit
2635c59c83
1 changed files with 2 additions and 8 deletions
|
@ -266,15 +266,9 @@ function item_permissions_sql($owner_id,$remote_verified = false,$groups = null)
|
|||
* Profile owner - everything is visible
|
||||
*/
|
||||
|
||||
if($local_user) {
|
||||
if($local_user == $owner_id) {
|
||||
if($local_user && ($local_user == $owner_id)) {
|
||||
$sql = '';
|
||||
}
|
||||
else {
|
||||
/* logged in user can see hidden walls and feeds that are blocked to unknown users (private == 2) */
|
||||
$sql = " AND private != 1 ";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Authenticated visitor. Unless pre-verified,
|
||||
|
|
Loading…
Reference in a new issue