mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-03 04:41:03 +02:00
EventIndexing: Add a missing platform getting.
This commit is contained in:
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…
x
Reference in New Issue
Block a user