Hide like notifications from menu again

This commit is contained in:
Hypolite Petovan 2022-03-14 22:25:10 -04:00
parent 73c7b88fb2
commit 36e85b01c6
2 changed files with 3 additions and 2 deletions

View file

@ -116,11 +116,12 @@ class Notification extends BaseRepository
SELECT MAX(`id`)
FROM notification
WHERE uid = ?
AND vid != ?
GROUP BY IFNULL(`parent-uri-id`, `actor-id`)
)
ORDER BY `seen`, `id` DESC
LIMIT 50
", $uid);
", $uid, Verb::getID(\Friendica\Protocol\Activity::LIKE));
$Entities = new Collection\Notifications();
foreach ($rows as $fields) {