DEV: Add plugin modifier for notification_data manipulation (#22208)
This commit is contained in:
parent
e1561bc459
commit
762dd971d6
|
@ -588,6 +588,9 @@ class PostAlerter
|
|||
end
|
||||
|
||||
# Create the notification
|
||||
notification_data =
|
||||
DiscoursePluginRegistry.apply_modifier(:notification_data, notification_data)
|
||||
|
||||
created =
|
||||
user.notifications.consolidate_or_create!(
|
||||
notification_type: type,
|
||||
|
|
Loading…
Reference in New Issue