Project

General

Profile

Actions

Feature proposal #9627

open

Implement notification entity trigger for when notification recipients are updated

Added by krileon 13 days ago. Updated 13 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
28 February 2025
Due date:
% Done:

100%

Estimated time:

Description

Notification entities won't fire the store trigger if the notification itself wasn't modified, but the recipients were. So having a trigger specifically for when new recipients are appended to an existing notification would be very helpful.

This should include a recipients diff so it's possible to act strictly on a list of non-notified user ids.

Actions #1

Updated by krileon 13 days ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Implemented as: $_PLUGINS->trigger( 'activity_onAfterNotificationEntityUpdate', [ $this, &$notification, $newRecipients );

Actions

Also available in: Atom PDF