Appease the linter

pull/21833/head
Travis Ralston 2021-05-03 21:53:23 -06:00
parent e04490284d
commit 903cc77f39
1 changed files with 3 additions and 1 deletions

View File

@ -167,7 +167,9 @@ export class StopGapWidgetDriver extends WidgetDriver {
return results.map(e => e.event);
}
public async readStateEvents(eventType: string, stateKey: string | undefined, limit: number): Promise<MatrixEvent[]> {
public async readStateEvents(
eventType: string, stateKey: string | undefined, limit: number,
): Promise<MatrixEvent[]> {
limit = limit > 0 ? Math.min(limit, 100) : 100; // arbitrary choice
const client = MatrixClientPeg.get();