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: Clear stream id when prompting user for stream selection.

N-Shar-ma48d0d49fde2f
diff --git a/web/src/compose_actions.js b/web/src/compose_actions.js
index 986875e0ab8..333b514d88e 100644
--- a/web/src/compose_actions.js
+++ b/web/src/compose_actions.js
@@ -251,6 +251,7 @@ export function start(msg_type, opts) {
compose_recipient.on_compose_select_recipient_update();
} else {
// Open stream selection dropdown if no stream is selected.
+ compose_state.set_stream_id("");
compose_recipient.open_compose_recipient_dropdown();
}
compose_state.topic(opts.topic);