mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 00:23:49 +00:00
settings: Add frontend to change allow_edit_history to integer field.
This commit implements the frontend of migrating the `allow_edit_history` setting to `message_edit_history_visibility`. This allows organizations, to have an intermediate setting to view only the "Moves" history of the messages. Fixes #21398. Co-authored-by: Shlok Patel <shlokcpatel2001@gmail.com> Co-authored-by: Tim Abbott <tabbott@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
d0c5c1cacb
commit
f9825142c8
@@ -210,7 +210,6 @@ export function dispatch_normal_event(event) {
|
||||
|
||||
case "realm": {
|
||||
const realm_settings = {
|
||||
allow_edit_history: noop,
|
||||
allow_message_editing: noop,
|
||||
avatar_changes_disabled: settings_account.update_avatar_change_display,
|
||||
can_add_custom_emoji_group: noop,
|
||||
@@ -243,6 +242,7 @@ export function dispatch_normal_event(event) {
|
||||
mandatory_topics: noop,
|
||||
message_content_edit_limit_seconds: noop,
|
||||
message_content_delete_limit_seconds: noop,
|
||||
message_edit_history_visibility_policy: noop,
|
||||
move_messages_between_streams_limit_seconds: noop,
|
||||
move_messages_within_stream_limit_seconds: message_edit.update_inline_topic_edit_ui,
|
||||
message_retention_days: noop,
|
||||
|
||||
Reference in New Issue
Block a user