mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
Remove dead code in Filter.parse
(imported from commit 59b56ab864c8af52cb2d637b965b5f7161c34110)
This commit is contained in:
@@ -76,9 +76,6 @@ Filter.parse = function (str) {
|
||||
}
|
||||
_.each(matches, function (token) {
|
||||
var parts, operator;
|
||||
if (token.length === 0) {
|
||||
return;
|
||||
}
|
||||
parts = token.split(':');
|
||||
if (token[0] === '"' || parts.length === 1) {
|
||||
// Looks like a normal search term.
|
||||
|
||||
Reference in New Issue
Block a user