You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-13 08:02:38 +03:00
EventIndexPeg: Add a helper method to easily start the crawler.
This commit is contained in:
@@ -69,6 +69,11 @@ class EventIndexPeg {
|
||||
return this.index;
|
||||
}
|
||||
|
||||
start() {
|
||||
if (this.index === null) return;
|
||||
this.index.startCrawler();
|
||||
}
|
||||
|
||||
stop() {
|
||||
if (this.index === null) return;
|
||||
this.index.stopCrawler();
|
||||
|
||||
Reference in New Issue
Block a user