mirror of
https://github.com/friendica/friendica
synced 2025-04-22 16:30:11 +00:00
Hide some profile data if not connected.
This commit is contained in:
parent
5545008768
commit
901b95e935
3 changed files with 19 additions and 0 deletions
|
@ -67,6 +67,11 @@ function follow_content(&$a) {
|
|||
if (!$r)
|
||||
$r = array(array("location" => "", "about" => "", "keywords" => ""));
|
||||
|
||||
if($ret['network'] === NETWORK_DIASPORA) {
|
||||
$r[0]["location"] = "";
|
||||
$r[0]["about"] = "";
|
||||
}
|
||||
|
||||
$header = $ret["name"];
|
||||
|
||||
if ($ret["addr"] != "")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue