mirror of
https://github.com/friendica/friendica
synced 2025-04-27 13:10:10 +00:00
Don't create notifications for activities
This commit is contained in:
parent
60631f8a22
commit
8488ed76e4
2 changed files with 28 additions and 24 deletions
|
@ -603,10 +603,6 @@ function check_item_notification($itemid, $uid, $notification_type) {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!in_array($item['gravity'], [GRAVITY_PARENT, GRAVITY_COMMENT]) && ($item['verb'] != Activity::ANNOUNCE)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Generate the notification array
|
||||
$params = [];
|
||||
$params['uid'] = $uid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue