From: Hypolite Petovan Date: Sat, 21 Jan 2023 03:12:24 +0000 (-0500) Subject: Don't select deleted contact when in Contact::createFromProbeForUser X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d3ef2b23cc8e97af004d3af09a1920d6f33f4893;p=friendica.git Don't select deleted contact when in Contact::createFromProbeForUser --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index cfd25a1333..7b5a1e428a 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -2968,7 +2968,7 @@ class Contact } // check if we already have a contact - $condition = ['uid' => $uid, 'nurl' => Strings::normaliseLink($ret['url'])]; + $condition = ['uid' => $uid, 'nurl' => Strings::normaliseLink($ret['url']), 'deleted' => false]; $contact = DBA::selectFirst('contact', ['id', 'rel', 'url', 'pending', 'hub-verify'], $condition); $protocol = self::getProtocol($ret['url'], $ret['network']);