mirror of https://github.com/vector-im/riot-web
Delint once more
parent
6d0fd0322e
commit
c0d2dbe7fd
|
@ -158,7 +158,12 @@ export default abstract class Exporter {
|
||||||
|
|
||||||
while (limit) {
|
while (limit) {
|
||||||
const eventsPerCrawl = Math.min(limit, 1000);
|
const eventsPerCrawl = Math.min(limit, 1000);
|
||||||
const res: any = await this.client.createMessagesRequest(this.room.roomId, prevToken, eventsPerCrawl, Direction.Backward);
|
const res = await this.client.createMessagesRequest(
|
||||||
|
this.room.roomId,
|
||||||
|
prevToken,
|
||||||
|
eventsPerCrawl,
|
||||||
|
Direction.Backward,
|
||||||
|
);
|
||||||
|
|
||||||
if (this.cancelled) {
|
if (this.cancelled) {
|
||||||
this.cleanUp();
|
this.cleanUp();
|
||||||
|
|
Loading…
Reference in New Issue