Fix vanished notifications

This commit is contained in:
Michael 2021-08-24 20:16:33 +00:00
parent a3c3fd13fb
commit f18e2bde83

View file

@ -459,7 +459,7 @@ function ping_get_notifications($uid)
if ($notification["visible"] if ($notification["visible"]
&& !$notification["deleted"] && !$notification["deleted"]
&& empty($result[$notification['parent']]) && empty($result['p:' . $notification['parent']])
) { ) {
// Should we condense the notifications or show them all? // Should we condense the notifications or show them all?
if (($notification['verb'] != Activity::POST) || DI::pConfig()->get(local_user(), 'system', 'detailed_notif')) { if (($notification['verb'] != Activity::POST) || DI::pConfig()->get(local_user(), 'system', 'detailed_notif')) {