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_settings: Fix error on stream setting update when compose closed.

roanster0070be93b85193d
diff --git a/web/src/compose_recipient.ts b/web/src/compose_recipient.ts
index 1c3a314b330..02adddd7e6b 100644
--- a/web/src/compose_recipient.ts
+++ b/web/src/compose_recipient.ts
@@ -226,7 +226,6 @@ export function on_compose_select_recipient_update(): void {
if (curr_message_type === "stream") {
// Update stream name in the recipient box.
const stream_id = compose_state.stream_id();
- assert(stream_id !== undefined);
update_recipient_label(stream_id);
}