From 1e123ace12103212ce7e6d2617e04983ffce8640 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 11 Sep 2021 13:00:12 +0000 Subject: [PATCH] Only fetch, not probe --- src/Model/Contact/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Contact/User.php b/src/Model/Contact/User.php index 7542130d9..3fe626a6d 100644 --- a/src/Model/Contact/User.php +++ b/src/Model/Contact/User.php @@ -62,7 +62,7 @@ class User $pcontact = Contact::selectFirst(['id'], ['uri-id' => $contact['uri-id'], 'uid' => 0]); if (!empty($contact['uri-id']) && DBA::isResult($pcontact)) { $pcid = $pcontact['id']; - } elseif (empty($contact['url']) || !($pcid = Contact::getIdForURL($contact['url']))) { + } elseif (empty($contact['url']) || !($pcid = Contact::getIdForURL($contact['url'], 0, false))) { Logger::info('Public contact for user not found', ['uri-id' => $contact['uri-id'], 'uid' => $contact['uid']]); return false; }