mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 06:28:27 +00:00
Searching: Move a comment to the correct place.
This commit is contained in:
+2
-1
@@ -20,8 +20,9 @@ import MatrixClientPeg from "./MatrixClientPeg";
|
||||
function serverSideSearch(term, roomId = undefined) {
|
||||
let filter;
|
||||
if (roomId !== undefined) {
|
||||
// XXX: it's unintuitive that the filter for searching doesn't have
|
||||
// the same shape as the v2 filter API :(
|
||||
filter = {
|
||||
// XXX: it's unintuitive that the filter for searching doesn't have the same shape as the v2 filter API :(
|
||||
rooms: [roomId],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user