A contact that couldn't be resolved is know known as "UNKNOWN"
This commit is contained in:
parent
72ecb9e67b
commit
05ae3d528e
1 changed files with 2 additions and 2 deletions
|
@ -238,8 +238,8 @@ function _contact_update_profile($contact_id) {
|
||||||
|
|
||||||
$data = probe_url($r[0]["url"]);
|
$data = probe_url($r[0]["url"]);
|
||||||
|
|
||||||
// "Feed" is mostly a sign of communication problems
|
// "Feed" or "Unknown" is mostly a sign of communication problems
|
||||||
if (($data["network"] == NETWORK_FEED) AND ($data["network"] != $r[0]["network"]))
|
if ((in_array($data["network"], array(NETWORK_FEED, NETWORK_PHANTOM))) AND ($data["network"] != $r[0]["network"]))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
$updatefields = array("name", "nick", "url", "addr", "batch", "notify", "poll", "request", "confirm",
|
$updatefields = array("name", "nick", "url", "addr", "batch", "notify", "poll", "request", "confirm",
|
||||||
|
|
Loading…
Reference in a new issue