DEV: Explicitly register problem check (#191)
This commit is contained in:
parent
f0275f1591
commit
05a0a32a47
|
@ -19,8 +19,11 @@ require_relative "lib/discourse_chat_integration/provider/slack/slack_enabled_se
|
|||
|
||||
after_initialize do
|
||||
require_relative "app/initializers/discourse_chat_integration"
|
||||
|
||||
require_relative "app/services/problem_check/channel_errors"
|
||||
|
||||
register_problem_check ProblemCheck::ChannelErrors
|
||||
|
||||
on(:site_setting_changed) do |setting_name, old_value, new_value|
|
||||
is_enabled_setting = setting_name == :chat_integration_telegram_enabled
|
||||
is_access_token = setting_name == :chat_integration_telegram_access_token
|
||||
|
|
Loading…
Reference in New Issue