From ea9ad4dc0f20078da25b4583d67b0f47a87915d9 Mon Sep 17 00:00:00 2001 From: Martin Brennan Date: Thu, 5 Oct 2023 19:05:59 +1000 Subject: [PATCH] DEV: Revert hide_plugin for chat (#23792) Partial revert of 97a812f022f3e7baa51f354e8f632bec0683fb6d. Calling hide_plugin also hides the Chat tab in the plugins section of admin, which is a way plugins can add an advanced UI (in the case of chat Export and Webhooks). Until we decide what to do in this case, it's better to revert, since all this will do is make the discourse-chat plugin show up again in the plugin list and restore the missing tab. --- plugins/chat/plugin.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/chat/plugin.rb b/plugins/chat/plugin.rb index adbf8d11365..2ed2035fff6 100644 --- a/plugins/chat/plugin.rb +++ b/plugins/chat/plugin.rb @@ -25,7 +25,6 @@ register_svg_icon "file-image" # route: /admin/plugins/chat add_admin_route "chat.admin.title", "chat" -hide_plugin GlobalSetting.add_default(:allow_unsecure_chat_uploads, false)