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

@@ -20,7 +20,7 @@ export function get_recipient_label(message) {
// we label the button as replying to the thread.
if (narrow_state.narrowed_to_topic()) {
message = {
stream: narrow_state.stream(),
stream: narrow_state.stream_name(),
topic: narrow_state.topic(),
};
} else if (narrow_state.pm_ids_string()) {