mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
Remove redundant narrow_state.get_current_filter().
We now use narrow_state.filter() everywhere. The two functions did the same thing, and I slightly prefer the concise name, which was already in use in lots of places.
This commit is contained in:
@@ -275,7 +275,7 @@ exports.respond_to_message = function (opts) {
|
||||
compose.nonexistent_stream_reply_error();
|
||||
return;
|
||||
}
|
||||
var current_filter = narrow_state.get_current_filter();
|
||||
var current_filter = narrow_state.filter();
|
||||
var first_term = current_filter.operators()[0];
|
||||
var first_operator = first_term.operator;
|
||||
var first_operand = first_term.operand;
|
||||
|
||||
Reference in New Issue
Block a user