X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffollow.php;h=54c20e5093ac4924f7891b4dd37a54785c14cc3f;hb=ea2b3b2f762a323ca5a7a820857c4bea51d22637;hp=25169e403aa33fc00dcf95a9878ff06c568587d0;hpb=7ed61b2edc50b8ff51f48446afc2b9743296d107;p=friendica.git diff --git a/mod/follow.php b/mod/follow.php index 25169e403a..54c20e5093 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -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"] != "") @@ -76,7 +81,7 @@ function follow_content(&$a) { $o = replace_macros($tpl,array( '$header' => htmlentities($header), - '$photo' => proxy_url($ret["photo"]), + '$photo' => proxy_url($ret["photo"], false, PROXY_SIZE_SMALL), '$desc' => "", '$pls_answer' => t('Please answer the following:'), '$does_know_you' => array('knowyou', sprintf(t('Does %s know you?'),$ret["name"]), false, '', array(t('No'),t('Yes'))),