Searching: Use the short form to build the search arguments object.
This commit is contained in:
parent
b4a6123295
commit
a4ad8151f8
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ function serverSideSearch(term, roomId = undefined) {
|
|||
}
|
||||
|
||||
const searchPromise = MatrixClientPeg.get().searchRoomEvents({
|
||||
filter: filter,
|
||||
term: term,
|
||||
filter,
|
||||
term,
|
||||
});
|
||||
|
||||
return searchPromise;
|
||||
|
|
Loading…
Reference in a new issue