mirror of https://github.com/vector-im/riot-web
EventIndexing: Add a missing platform getting.
parent
ecbc47c548
commit
d69eb78b66
|
@ -385,6 +385,7 @@ export default class EventIndexer {
|
||||||
}
|
}
|
||||||
|
|
||||||
async deleteEventIndex() {
|
async deleteEventIndex() {
|
||||||
|
const platform = PlatformPeg.get();
|
||||||
if (platform.supportsEventIndexing()) {
|
if (platform.supportsEventIndexing()) {
|
||||||
console.log("Seshat: Deleting event index.");
|
console.log("Seshat: Deleting event index.");
|
||||||
this.crawlerRef.cancel();
|
this.crawlerRef.cancel();
|
||||||
|
|
Loading…
Reference in New Issue