1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Searching: Define the room id in the const object.

This commit is contained in:
Damir Jelić
2019-11-13 11:02:54 +01:00
parent 54b352f69c
commit 80b28004e1

View File

@@ -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) {