DEV: Revert hide_plugin for chat (#23792)

Partial revert of 97a812f022.
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.
This commit is contained in:
Martin Brennan 2023-10-05 19:05:59 +10:00 committed by GitHub
parent 6cd4b8de6d
commit ea9ad4dc0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,6 @@ register_svg_icon "file-image"
# route: /admin/plugins/chat # route: /admin/plugins/chat
add_admin_route "chat.admin.title", "chat" add_admin_route "chat.admin.title", "chat"
hide_plugin
GlobalSetting.add_default(:allow_unsecure_chat_uploads, false) GlobalSetting.add_default(:allow_unsecure_chat_uploads, false)