Hide some profile data if not connected.

This commit is contained in:
Michael Vogel 2015-10-06 06:56:31 +02:00
parent 5545008768
commit 901b95e935
3 changed files with 19 additions and 0 deletions

View file

@ -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"] != "")