EventIndexing: Add a missing platform getting.

This commit is contained in:
Damir Jelić 2019-11-12 15:41:14 +01:00
parent ecbc47c548
commit d69eb78b66

View File

@ -385,6 +385,7 @@ export default class EventIndexer {
}
async deleteEventIndex() {
const platform = PlatformPeg.get();
if (platform.supportsEventIndexing()) {
console.log("Seshat: Deleting event index.");
this.crawlerRef.cancel();