EventIndex: Fix some spelling errors.

pull/21833/head
Damir Jelić 2019-11-18 15:04:44 +01:00
parent 4a6623bc00
commit 21f00aaeb1
1 changed files with 3 additions and 3 deletions

View File

@ -282,8 +282,8 @@ export default class EventIndex {
// attributes? // attributes?
}; };
// TODO if there ar no events at this point we're missing a lot // TODO if there are no events at this point we're missing a lot
// decryption keys, do we wan't to retry this checkpoint at a later // decryption keys, do we want to retry this checkpoint at a later
// stage? // stage?
const filteredEvents = matrixEvents.filter(isValidEvent); const filteredEvents = matrixEvents.filter(isValidEvent);
@ -336,7 +336,7 @@ export default class EventIndex {
} }
} catch (e) { } catch (e) {
console.log("EventIndex: Error durring a crawl", e); console.log("EventIndex: Error durring a crawl", e);
// An error occured, put the checkpoint back so we // An error occurred, put the checkpoint back so we
// can retry. // can retry.
this.crawlerCheckpoints.push(checkpoint); this.crawlerCheckpoints.push(checkpoint);
} }