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:
Steve Howell
2018-07-07 13:55:39 +00:00
committed by Tim Abbott
parent fe4cad15a4
commit bec40af614
4 changed files with 9 additions and 13 deletions

View File

@@ -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;