mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-11 15:31:22 +02:00
Searching: Use the short form to build the search arguments object.
This commit is contained in:
parent
b4a6123295
commit
a4ad8151f8
@ -28,8 +28,8 @@ function serverSideSearch(term, roomId = undefined) {
|
||||
}
|
||||
|
||||
const searchPromise = MatrixClientPeg.get().searchRoomEvents({
|
||||
filter: filter,
|
||||
term: term,
|
||||
filter,
|
||||
term,
|
||||
});
|
||||
|
||||
return searchPromise;
|
||||
|
Loading…
x
Reference in New Issue
Block a user