]> git.mxchange.org Git - friendica.git/commitdiff
A contact that couldn't be resolved is know known as "UNKNOWN"
authorMichael Vogel <icarus@dabo.de>
Sun, 4 Oct 2015 17:48:29 +0000 (19:48 +0200)
committerMichael Vogel <icarus@dabo.de>
Sun, 4 Oct 2015 17:48:29 +0000 (19:48 +0200)
mod/contacts.php

index f3b8a1deffe9fa2a234461a282276dca93496162..92463cd8de41d856f005156c896b9f266dc323db 100644 (file)
@@ -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",