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