Avoid probing non existing profiles

This commit is contained in:
Michael 2020-08-19 05:24:53 +00:00
parent 3d1829ede5
commit 38ed5c943d

View file

@ -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];
}