Browse Source

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

pull/1935/head
Michael Vogel 7 years ago
parent
commit
05ae3d528e
  1. 4
      mod/contacts.php

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

Loading…
Cancel
Save