mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
compose: Use compose_state.stream_id when name isn't needed.
This partially fixes #25742.
This commit is contained in:
@@ -63,8 +63,7 @@ function composing_to_current_private_message_narrow() {
|
||||
export function update_narrow_to_recipient_visibility() {
|
||||
const message_type = compose_state.get_message_type();
|
||||
if (message_type === "stream") {
|
||||
const stream_name = compose_state.stream_name();
|
||||
const stream_exists = Boolean(stream_data.get_stream_id(stream_name));
|
||||
const stream_exists = Boolean(compose_state.stream_id());
|
||||
|
||||
if (
|
||||
stream_exists &&
|
||||
|
||||
Reference in New Issue
Block a user