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.

stream_popover: Specify topic when opening compose.

Tim Abbott46c72fd17db1
diff --git a/static/js/stream_popover.js b/static/js/stream_popover.js
index a8f5ee8017e..7e9cf80eec5 100644
--- a/static/js/stream_popover.js
+++ b/static/js/stream_popover.js
@@ -477,7 +477,11 @@ export function register_stream_handlers() {
const sub = stream_popover_sub(e);
hide_stream_popover();
- compose_actions.start("stream", {trigger: "popover new topic button", stream: sub.name});
+ compose_actions.start("stream", {
+ trigger: "popover new topic button",
+ stream: sub.name,
+ topic: "",
+ });
e.preventDefault();
e.stopPropagation();
});