mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 03:10:11 +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_spec.rb | ||
consolidation_planner_spec.rb |