A platform for community discussion. Free, open, simple.
DEV: Add plugin modifier for notification_data manipulation (#22208)
Mark VanLandingham762dd971d628
diff --git a/app/services/post_alerter.rb b/app/services/post_alerter.rbindex fbda2e7cb64..6c777982e4e 100644--- a/app/services/post_alerter.rb+++ b/app/services/post_alerter.rb@@ -588,6 +588,9 @@ class PostAlerterend# Create the notification+ notification_data =+ DiscoursePluginRegistry.apply_modifier(:notification_data, notification_data)+created =user.notifications.consolidate_or_create!(notification_type: type,