diff --git a/package.json b/package.json index aaddeca3d..66f297b60 100644 --- a/package.json +++ b/package.json @@ -94,6 +94,8 @@ "os-locale": "2.1.0", "p-retry": "^4.2.0", "pify": "3.0.0", + "protobufjs": "^6.11.2", + "rc-slider": "^8.7.1", "react": "^17.0.2", "react-contexify": "5.0.0", @@ -188,7 +190,6 @@ "playwright": "^1.16.3", "postinstall-prepare": "^1.0.1", "prettier": "1.19.0", - "protobufjs": "^6.11.2", "run-script-os": "^1.1.6", "sinon": "9.0.2", "ts-loader": "4.1.0", diff --git a/ts/state/ducks/search.ts b/ts/state/ducks/search.ts index 3555966f3..ddca4e075 100644 --- a/ts/state/ducks/search.ts +++ b/ts/state/ducks/search.ts @@ -199,7 +199,7 @@ function getAdvancedSearchOptionsFromQuery(query: string): AdvancedSearchOptions async function queryMessages(query: string): Promise> { try { const normalized = cleanSearchTerm(query); - return searchMessages(normalized, 1000); + return searchMessages(normalized, 150); } catch (e) { return []; }