Reverts discourse/discourse-chat-integration#192 Reimplement https://github.com/discourse/discourse-chat-integration/pull/191 as the Discourse Core CI issue was unrelated.
This commit is contained in:
parent
048e8d595a
commit
8b8a6ae8af
|
@ -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