From: Michael Vogel Date: Sun, 4 Oct 2015 17:48:29 +0000 (+0200) Subject: A contact that couldn't be resolved is know known as "UNKNOWN" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=05ae3d528e67e6bd49336aaa53f5ba1f30f1c46d;p=friendica.git A contact that couldn't be resolved is know known as "UNKNOWN" --- diff --git a/mod/contacts.php b/mod/contacts.php index f3b8a1deff..92463cd8de 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -238,8 +238,8 @@ function _contact_update_profile($contact_id) { $data = probe_url($r[0]["url"]); - // "Feed" is mostly a sign of communication problems - if (($data["network"] == NETWORK_FEED) AND ($data["network"] != $r[0]["network"])) + // "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"])) return; $updatefields = array("name", "nick", "url", "addr", "batch", "notify", "poll", "request", "confirm",