You've already forked matrix-react-sdk
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:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user