Check for phantom network

This commit is contained in:
Michael 2022-05-25 11:46:58 +00:00
parent f5d69b3b6a
commit 918c1eeb56

View File

@ -2544,8 +2544,10 @@ class Contact
$ret = Probe::uri($url, $network, $uid);
// Ensure that the public contact exists
if ($ret['network'] != Protocol::PHANTOM) {
self::getIdForURL($url);
}
}
if (($network != '') && ($ret['network'] != $network)) {
Logger::notice('Expected network ' . $network . ' does not match actual network ' . $ret['network']);