From 38ed5c943d0fe72f95a842ad35c89433c9e4b888 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 19 Aug 2020 05:24:53 +0000 Subject: [PATCH] Avoid probing non existing profiles --- src/Content/Text/BBCode.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index cae3e941a7..5b22746ce6 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -1973,8 +1973,7 @@ class BBCode */ private static function bbCodeMention2DiasporaCallback($match) { - $contact = Contact::getByURL($match[3], null, ['addr']); - + $contact = Contact::getByURL($match[3], false, ['addr']); if (empty($contact['addr'])) { return $match[0]; }