1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

RoomView: Move the search logic into a separate module.

This commit is contained in:
Damir Jelić
2019-11-12 15:39:26 +01:00
parent cfdcf45ac6
commit e296fd05c0
3 changed files with 147 additions and 120 deletions

View File

@@ -401,4 +401,9 @@ export default class EventIndexer {
this._crawlerRef.cancel();
this._crawlerRef = null;
}
async search(searchArgs) {
const platform = PlatformPeg.get();
return platform.searchEventIndex(searchArgs)
}
}