mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Searching: Define the room id in the const object.
This commit is contained in:
parent
54b352f69c
commit
80b28004e1
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ async function localSearchFunc(searchTerm, roomId = undefined) {
|
|||
before_limit: 1,
|
||||
after_limit: 1,
|
||||
order_by_recency: true,
|
||||
room_id: undefined,
|
||||
};
|
||||
|
||||
if (roomId !== undefined) {
|
||||
|
|
Loading…
Reference in a new issue