Ensure that the public contact exixts before adding a user contact

This commit is contained in:
Michael 2022-05-25 11:43:29 +00:00
parent 9804c71b53
commit f5d69b3b6a

View file

@ -2542,6 +2542,9 @@ class Contact
} else {
$probed = true;
$ret = Probe::uri($url, $network, $uid);
// Ensure that the public contact exists
self::getIdForURL($url);
}
if (($network != '') && ($ret['network'] != $network)) {