Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose-actions: Set topic earlier if specified in start opts.
Lauryn Menardd7873fbc11c0
diff --git a/web/src/compose_actions.ts b/web/src/compose_actions.tsindex f4943d4269f..4b3d4082d93 100644--- a/web/src/compose_actions.ts+++ b/web/src/compose_actions.ts@@ -339,6 +339,7 @@ export let start = (raw_opts: ComposeActionsStartOpts): void => {compose_recipient.on_compose_select_recipient_update();} else if (opts.stream_id && opts.topic) {compose_state.set_stream_id(opts.stream_id);+ compose_state.topic(opts.topic);compose_recipient.on_compose_select_recipient_update();} else if (opts.stream_id) {const stream = stream_data.get_sub_by_id(opts.stream_id);