Avoid probing non existing profiles

This commit is contained in:
Michael 2020-08-19 05:24:53 +00:00
parent 3d1829ede5
commit 38ed5c943d
1 changed files with 1 additions and 2 deletions

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