DEV: Add hooks to allow overriding notify_user behavior (#23850)

Adds new plugin registry `:post_action_notify_user_handlers` and more!
This commit is contained in:
Mark VanLandingham
2023-10-10 12:21:57 -05:00
committed by GitHub
parent 38e7960082
commit f29c476521
5 changed files with 111 additions and 8 deletions

View File

@@ -116,6 +116,8 @@ class DiscoursePluginRegistry
define_filtered_register :summarization_strategies
define_filtered_register :post_action_notify_user_handlers
def self.register_auth_provider(auth_provider)
self.auth_providers << auth_provider
end