-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disabling showChat at settings file padOptions #4927
Comments
We need to make a bigger decision on if passing false as a param hides it by default or just minimizes it. For now can you use ep_disable_chat and be in an okay position? |
Proposal: Site admins determine if they want chat functionality via settings ('enableChat' defaults to true). If false, PadMessageHandler should not react to chat messages/all server code re chat should be ignored and any functionality re chat in UI should be unavailable (e.g. no sticky, "show chat and user" should read "show user", showChat query param should be ignored) If enabled, user can pass the following as query string:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I just ran into the same issue. I also expected And I agree with @webzwo0i. A way to actually disable chat entirely would be great. ep_disable_chat is an okay workaround but only hides the UI elements; the backend would still accept, process, and broadcast chat messages, etc. |
My preference would be to move all chat functionality to a plugin. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@rhansen plus one for the plugin approach. |
I decided to split this into three issues:
|
Describe the bug
Disabling
showChat
does not hide chat the same way passingshowChat=false
as an URL query string.etherpad-lite/settings.json.template
Line 208 in 4ca989a
To Reproduce
Steps to reproduce the behavior:
showChat
to false at settings?showChat=false
to the URLExpected behavior
Chat to be hidden when disabling showChat at settings.
Server (please complete the following information):
node --version
): v12.18.2npm --version
): 6.14.5Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: