mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
committed by
GitHub
parent
38e7960082
commit
f29c476521
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user