mirror of
https://github.com/friendica/friendica
synced 2025-04-18 07:50:12 +00:00
Check for phantom network
This commit is contained in:
parent
f5d69b3b6a
commit
918c1eeb56
1 changed files with 3 additions and 1 deletions
|
@ -2544,7 +2544,9 @@ 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
|
||||||
self::getIdForURL($url);
|
if ($ret['network'] != Protocol::PHANTOM) {
|
||||||
|
self::getIdForURL($url);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($network != '') && ($ret['network'] != $network)) {
|
if (($network != '') && ($ret['network'] != $network)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue