Merge pull request #10632 from annando/fox-notifications

Fix vanished notifications
This commit is contained in:
Hypolite Petovan 2021-08-24 16:55:16 -04:00 committed by GitHub
commit 3ad6536fd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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')) {