Replaced "getDetailsByURL" with "getByURL/getByURLForUser"

This commit is contained in:
Michael 2020-07-15 04:42:04 +00:00
commit d9c6a46ffe
29 changed files with 78 additions and 285 deletions

View file

@ -104,7 +104,7 @@ function suggest_content(App $a)
'hide' => [DI::l10n()->t('Ignore/Hide'), $ignlnk]
];
$contact_details = Contact::getDetailsByURL($rr["url"], local_user(), $rr);
$contact_details = array_merge($rr, Contact::getByURLForUser($rr["url"], local_user(), [], false));
$entry = [
'url' => Contact::magicLink($rr['url']),