1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Searching: Use the short form to build the search arguments object.

This commit is contained in:
Damir Jelić
2019-11-18 10:55:02 +01:00
parent b4a6123295
commit a4ad8151f8

View File

@@ -28,8 +28,8 @@ function serverSideSearch(term, roomId = undefined) {
}
const searchPromise = MatrixClientPeg.get().searchRoomEvents({
filter: filter,
term: term,
filter,
term,
});
return searchPromise;