+ $header = $rr["name"];
+
+ $ret = probe_url($rr["url"]);
+
+ if ($rr['gnetwork'] == "")
+ $rr['gnetwork'] = $ret["network"];
+
+ if ($ret["addr"] != "")
+ $header .= " <".$ret["addr"].">";
+
+ $header .= " (".network_to_name($rr['gnetwork'], $rr['url']).")";
+
+ // Don't show these data until you are connected. Diaspora is doing the same.
+ if($rr['gnetwork'] === NETWORK_DIASPORA) {
+ $rr['glocation'] = "";
+ $rr['gabout'] = "";
+ $rr['ggender'] = "";
+ }
+