mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
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
Block a user