From: Michael Date: Wed, 19 Aug 2020 05:24:53 +0000 (+0000) Subject: Avoid probing non existing profiles X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=38ed5c943d0fe72f95a842ad35c89433c9e4b888;p=friendica.git Avoid probing non existing profiles --- 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]; }