create third privacy state - public post but not searchable or publicly visible

This commit is contained in:
friendica 2012-06-28 17:43:29 -07:00
parent 43d3721fa9
commit a3edbf7e5d
9 changed files with 21 additions and 20 deletions

View file

@ -1059,12 +1059,13 @@ function feed_salmonlinks($nick) {
if(! function_exists('get_plink')) {
function get_plink($item) {
$a = get_app();
if (x($item,'plink') && ((! $item['private']) || ($item['network'] === NETWORK_FEED))){
if (x($item,'plink') && ($item['private'] != 1)) {
return array(
'href' => $item['plink'],
'title' => t('link to source'),
);
} else {
}
else {
return false;
}
}}