Check for phantom network
This commit is contained in:
parent
f5d69b3b6a
commit
918c1eeb56
@ -2544,8 +2544,10 @@ class Contact
|
|||||||
$ret = Probe::uri($url, $network, $uid);
|
$ret = Probe::uri($url, $network, $uid);
|
||||||
|
|
||||||
// Ensure that the public contact exists
|
// Ensure that the public contact exists
|
||||||
|
if ($ret['network'] != Protocol::PHANTOM) {
|
||||||
self::getIdForURL($url);
|
self::getIdForURL($url);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (($network != '') && ($ret['network'] != $network)) {
|
if (($network != '') && ($ret['network'] != $network)) {
|
||||||
Logger::notice('Expected network ' . $network . ' does not match actual network ' . $ret['network']);
|
Logger::notice('Expected network ' . $network . ' does not match actual network ' . $ret['network']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user