mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
settings: Add can_move_messages_between_topics_group realm setting.
Added `can_move_messages_between_topics_group` realm setting to replace `edit_topic_policy`.
This commit is contained in:
@@ -208,7 +208,6 @@ export function dispatch_normal_event(event) {
|
||||
const realm_settings = {
|
||||
allow_edit_history: noop,
|
||||
allow_message_editing: noop,
|
||||
edit_topic_policy: noop,
|
||||
avatar_changes_disabled: settings_account.update_avatar_change_display,
|
||||
bot_creation_policy: settings_bots.update_bot_permissions_ui,
|
||||
can_delete_any_message_group: noop,
|
||||
@@ -323,7 +322,7 @@ export function dispatch_normal_event(event) {
|
||||
compose_recipient.check_posting_policy_for_compose_box();
|
||||
}
|
||||
|
||||
if (key === "edit_topic_policy") {
|
||||
if (key === "can_move_messages_between_topics_group") {
|
||||
message_live_update.rerender_messages_view();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user