server_events_dispatch: Remove unnecessary 'realm_' prefix.

We do not have 'realm_' prefix to the settings used as keys
in realm_settings object, we directly use the setting name.

This commit removes the 'realm_' prefix from enable_spectator_access
setting.
This commit is contained in:
Sahil Batra 2021-11-19 18:14:44 +05:30 committed by Tim Abbott
parent 3efed5f1e6
commit 828927b724
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ export function dispatch_normal_event(event) {
private_message_policy: noop,
send_welcome_emails: noop,
message_content_allowed_in_email_notifications: noop,
realm_enable_spectator_access: noop,
enable_spectator_access: noop,
signup_notifications_stream_id: noop,
emails_restricted_to_domains: noop,
video_chat_provider: compose.update_video_chat_button_display,