mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 05:33:47 +08:00
23b75d8a2b
You can add callbacks that get called before updating an already consolidated notification or creating a consolidated one. Instances of this rule can add callbacks to access the old notifications about to be destroyed or the consolidated one and add additional data inside the data hash versus having to execute extra queries when adding this logic inside the `set_mutations` block. |
||
---|---|---|
.. | ||
consolidate_notifications.rb | ||
consolidation_plan.rb | ||
consolidation_planner.rb | ||
delete_previous_notifications.rb |