}
$contact = Contact::getByURL($url, true);
+
+ // Possibly it is a mail contact
if (empty($contact)) {
+ $contact = Probe::uri($url, Protocol::MAIL, $uid);
+ }
+
+ if (empty($contact) || ($contact['network'] == Protocol::PHANTOM)) {
// Possibly it is a remote item and not an account
follow_remote_item($url);