mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +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) {
|
function serverSideSearch(term, roomId = undefined) {
|
||||||
let filter;
|
let filter;
|
||||||
if (roomId !== undefined) {
|
if (roomId !== undefined) {
|
||||||
|
// XXX: it's unintuitive that the filter for searching doesn't have
|
||||||
|
// the same shape as the v2 filter API :(
|
||||||
filter = {
|
filter = {
|
||||||
// XXX: it's unintuitive that the filter for searching doesn't have the same shape as the v2 filter API :(
|
|
||||||
rooms: [roomId],
|
rooms: [roomId],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user