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;