1
0
Fork 0

A contact that couldn't be resolved is know known as "UNKNOWN"

This commit is contained in:
Michael Vogel 2015-10-04 19:48:29 +02:00
parent 72ecb9e67b
commit 05ae3d528e

View file

@ -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",