mirror of
https://github.com/friendica/friendica
synced 2025-04-22 21:10:10 +00:00
Reliably diasplay "like" and "share" notifications
This commit is contained in:
parent
e7f25f2bee
commit
c78b7f45c5
3 changed files with 23 additions and 8 deletions
|
@ -462,10 +462,10 @@ function ping_get_notifications($uid)
|
|||
&& empty($result[$notification['parent']])
|
||||
) {
|
||||
// Should we condense the notifications or show them all?
|
||||
if (DI::pConfig()->get(local_user(), 'system', 'detailed_notif')) {
|
||||
$result[$notification["id"]] = $notification;
|
||||
if (($notification['verb'] != Activity::POST) || DI::pConfig()->get(local_user(), 'system', 'detailed_notif')) {
|
||||
$result[] = $notification;
|
||||
} else {
|
||||
$result[$notification['parent']] = $notification;
|
||||
$result['p:' . $notification['parent']] = $notification;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue