mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 03:25:15 +02:00
Some more avatar function replacements
This commit is contained in:
parent
701dbdf7fc
commit
71b6226909
15 changed files with 47 additions and 63 deletions
|
@ -327,7 +327,7 @@ function ping_init(App $a)
|
|||
|
||||
if (DBA::isResult($notifs)) {
|
||||
foreach ($notifs as $notif) {
|
||||
$contact = Contact::getByURL($notif['url'], false, ['micro']);
|
||||
$contact = Contact::getByURL($notif['url'], false, ['micro', 'id', 'avatar']);
|
||||
$notif['photo'] = Contact::getMicro($contact, $notif['photo']);
|
||||
|
||||
$local_time = DateTimeFormat::local($notif['date']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue