]> git.mxchange.org Git - friendica.git/commitdiff
Check for phantom network
authorMichael <heluecht@pirati.ca>
Wed, 25 May 2022 11:46:58 +0000 (11:46 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 25 May 2022 11:46:58 +0000 (11:46 +0000)
src/Model/Contact.php

index 7cb63d490a3e2482d7142e308b5cca248b711b19..61dd688c7718c21d62795ab63310f97dccaa6dd1 100644 (file)
@@ -2544,7 +2544,9 @@ class Contact
                        $ret = Probe::uri($url, $network, $uid);
 
                        // Ensure that the public contact exists
-                       self::getIdForURL($url);
+                       if ($ret['network'] != Protocol::PHANTOM) {
+                               self::getIdForURL($url);
+                       }
                }
 
                if (($network != '') && ($ret['network'] != $network)) {