narrow_state: Rename stream() to stream_name() which is more accurate.

This commit is contained in:
evykassirer
2023-06-26 09:52:26 -07:00
committed by Tim Abbott
parent ba9cfc2cd8
commit d9edcba724
14 changed files with 28 additions and 28 deletions

View File

@@ -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()) {