mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
narrow_state: Rename stream() to stream_name() which is more accurate.
This commit is contained in:
@@ -36,7 +36,7 @@ export function set_selected_recipient_id(recipient_id) {
|
||||
|
||||
function composing_to_current_topic_narrow() {
|
||||
return (
|
||||
util.lower_same(compose_state.stream_name(), narrow_state.stream() || "") &&
|
||||
util.lower_same(compose_state.stream_name(), narrow_state.stream_name() || "") &&
|
||||
util.lower_same(compose_state.topic(), narrow_state.topic() || "")
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user