Searching: Define the room id in the const object.

pull/21833/head
Damir Jelić 2019-11-13 11:02:54 +01:00
parent 54b352f69c
commit 80b28004e1
1 changed files with 1 additions and 0 deletions

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