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) {
|
||||
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) {
|
||||
this.cleanUp();
|
||||
|
|
Loading…
Reference in New Issue