compose banners: Fix move topic permissions.

Not resolving a topic does not involve moving messages between streams.
This commit is contained in:
evykassirer 2022-11-23 11:25:01 -08:00 committed by Tim Abbott
parent 606258e75b
commit dc4f933f4f
1 changed files with 1 additions and 1 deletions

View File

@ -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);