From 05ae3d528e67e6bd49336aaa53f5ba1f30f1c46d Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 4 Oct 2015 19:48:29 +0200 Subject: [PATCH] A contact that couldn't be resolved is know known as "UNKNOWN" --- mod/contacts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", -- 2.39.5