You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
MatrixChat: Add some missing semicolons.
This commit is contained in:
@@ -2130,13 +2130,13 @@ export default createReactClass({
|
|||||||
checkpoint.roomId, checkpoint.token, 100,
|
checkpoint.roomId, checkpoint.token, 100,
|
||||||
checkpoint.direction);
|
checkpoint.direction);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log("Seshat: Error crawling events:", e)
|
console.log("Seshat: Error crawling events:", e);
|
||||||
this.crawlerChekpoints.push(checkpoint);
|
this.crawlerChekpoints.push(checkpoint);
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if (res.chunk.length === 0) {
|
if (res.chunk.length === 0) {
|
||||||
console.log("Seshat: Done with the checkpoint", checkpoint)
|
console.log("Seshat: Done with the checkpoint", checkpoint);
|
||||||
// We got to the start/end of our timeline, lets just
|
// We got to the start/end of our timeline, lets just
|
||||||
// delete our checkpoint and go back to sleep.
|
// delete our checkpoint and go back to sleep.
|
||||||
await platform.removeCrawlerCheckpoint(checkpoint);
|
await platform.removeCrawlerCheckpoint(checkpoint);
|
||||||
@@ -2239,7 +2239,8 @@ export default createReactClass({
|
|||||||
// Let us delete the checkpoint in that case, otherwise push
|
// Let us delete the checkpoint in that case, otherwise push
|
||||||
// the new checkpoint to be used by the crawler.
|
// the new checkpoint to be used by the crawler.
|
||||||
if (eventsAlreadyAdded === true && newCheckpoint.fullCrawl !== true) {
|
if (eventsAlreadyAdded === true && newCheckpoint.fullCrawl !== true) {
|
||||||
console.log("Seshat: Checkpoint had already all events added, stopping the crawl", checkpoint);
|
console.log("Seshat: Checkpoint had already all events",
|
||||||
|
"added, stopping the crawl", checkpoint);
|
||||||
await platform.removeCrawlerCheckpoint(newCheckpoint);
|
await platform.removeCrawlerCheckpoint(newCheckpoint);
|
||||||
} else {
|
} else {
|
||||||
this.crawlerChekpoints.push(newCheckpoint);
|
this.crawlerChekpoints.push(newCheckpoint);
|
||||||
|
|||||||
Reference in New Issue
Block a user