Probing has to be done uncached

This commit is contained in:
Michael 2017-05-07 16:33:54 +00:00
parent eb0a701590
commit c52b2f392f
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ function _contact_update_profile($contact_id) {
if ($uid != local_user())
return;
$data = probe_url($r[0]["url"]);
$data = Probe::uri($r[0]["url"], "", 0, false);
// "Feed" or "Unknown" is mostly a sign of communication problems
if ((in_array($data["network"], array(NETWORK_FEED, NETWORK_PHANTOM))) AND ($data["network"] != $r[0]["network"]))