From: Michael Date: Wed, 25 May 2022 11:43:29 +0000 (+0000) Subject: Ensure that the public contact exixts before adding a user contact X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f5d69b3b6a9fca1c208d8cc6610508b4a9eb464b;p=friendica.git Ensure that the public contact exixts before adding a user contact --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index bf1a50cbc4..7cb63d490a 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -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)) {