Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

compose banners: Fix move topic permissions.

evykassirerdc4f933f4fec
diff --git a/static/js/compose_validate.js b/static/js/compose_validate.js
index 02407b12174..c63936a3d22 100644
--- a/static/js/compose_validate.js
+++ b/static/js/compose_validate.js
@@ -202,7 +202,7 @@ export function warn_if_topic_resolved(topic_changed) {
const context = {
stream_id: sub.stream_id,
topic_name,
- can_move_topic: settings_data.user_can_move_messages_between_streams(),
+ can_move_topic: settings_data.user_can_edit_topic_of_any_message(),
};
const new_row = render_compose_resolved_topic(context);