mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
This commit is contained in:
parent
869f3cfec4
commit
d9c6a46ffe
29 changed files with 78 additions and 285 deletions
|
@ -331,7 +331,7 @@ function ping_init(App $a)
|
|||
|
||||
if (DBA::isResult($notifs)) {
|
||||
foreach ($notifs as $notif) {
|
||||
$contact = Contact::getDetailsByURL($notif['url']);
|
||||
$contact = Contact::getByURL($notif['url'], 0, ['micro'], false);
|
||||
if (isset($contact['micro'])) {
|
||||
$notif['photo'] = ProxyUtils::proxifyUrl($contact['micro'], false, ProxyUtils::SIZE_MICRO);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue