mirror of https://github.com/vector-im/riot-web
Searching: Define the room id in the const object.
parent
54b352f69c
commit
80b28004e1
|
@ -79,6 +79,7 @@ async function localSearchFunc(searchTerm, roomId = undefined) {
|
||||||
before_limit: 1,
|
before_limit: 1,
|
||||||
after_limit: 1,
|
after_limit: 1,
|
||||||
order_by_recency: true,
|
order_by_recency: true,
|
||||||
|
room_id: undefined,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (roomId !== undefined) {
|
if (roomId !== undefined) {
|
||||||
|
|
Loading…
Reference in New Issue