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

@@ -927,7 +927,7 @@ export class MessageListView {
last_message_group.message_containers.at(-1).msg.historical;
}
const stream_name = narrow_state.stream();
const stream_name = narrow_state.stream_name();
if (stream_name !== undefined) {
// If user narrows to a stream, doesn't update
// trailing bookend if user is subscribed.