message_edit: Make topic editing independent of allow_message_editing.

We now allow editing stream and topic of message even if
allow_message_editing if False using webapp given that is
allowed as per other topic and stream edit specific settings.

Fixes a part of #21739.
This commit is contained in:
Sahil Batra
2022-08-26 12:47:01 +05:30
committed by Tim Abbott
parent 815bf609fa
commit e6ec2badb5
8 changed files with 10 additions and 29 deletions

View File

@@ -273,7 +273,6 @@ function update_message_edit_sub_settings(is_checked) {
"id_realm_message_content_edit_limit_minutes",
true,
);
settings_ui.disable_sub_setting_onchange(is_checked, "id_realm_edit_topic_policy", true);
}
function update_custom_value_input(property_name) {