mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
narrow_state: Rename stream() to stream_name() which is more accurate.
This commit is contained in:
@@ -403,7 +403,7 @@ export function on_topic_narrow() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (compose_state.stream_name() !== narrow_state.stream()) {
|
||||
if (compose_state.stream_name() !== narrow_state.stream_name()) {
|
||||
// If we changed streams, then we only leave the
|
||||
// compose box open if there is content or if the recipient was edited.
|
||||
if (compose_state.has_message_content() || compose_state.is_recipient_edited_manually()) {
|
||||
|
||||
Reference in New Issue
Block a user