You've already forked matrix-react-sdk
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:
@@ -28,8 +28,8 @@ function serverSideSearch(term, roomId = undefined) {
|
||||
}
|
||||
|
||||
const searchPromise = MatrixClientPeg.get().searchRoomEvents({
|
||||
filter: filter,
|
||||
term: term,
|
||||
filter,
|
||||
term,
|
||||
});
|
||||
|
||||
return searchPromise;
|
||||
|
||||
Reference in New Issue
Block a user