return false;
}
+ if (DI::pConfig()->get(local_user(), 'system', 'notify_ignored', true) && Contact\User::isIgnored($item['author-id'], $uid)) {
+ Logger::info('Author is ignored, dropping notification', ['cid' => $item['author-id'], 'uid' => $uid]);
+ return false;
+ }
+
// Generate the notification array
$params = [];
$params['otype'] = Notify\ObjectType::ITEM;