]> git.mxchange.org Git - friendica.git/commitdiff
Fix vanished notifications
authorMichael <heluecht@pirati.ca>
Tue, 24 Aug 2021 20:16:33 +0000 (20:16 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 24 Aug 2021 20:16:33 +0000 (20:16 +0000)
mod/ping.php

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