You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-20 22:21:59 +03:00
lint
This commit is contained in:
@@ -60,7 +60,9 @@ function debuglog() {
|
|||||||
function SyncApi(client, opts) {
|
function SyncApi(client, opts) {
|
||||||
this.client = client;
|
this.client = client;
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
opts.initialSyncLimit = (opts.initialSyncLimit === undefined ? 8 : opts.initialSyncLimit);
|
opts.initialSyncLimit = (
|
||||||
|
opts.initialSyncLimit === undefined ? 8 : opts.initialSyncLimit
|
||||||
|
);
|
||||||
opts.resolveInvitesToProfiles = opts.resolveInvitesToProfiles || false;
|
opts.resolveInvitesToProfiles = opts.resolveInvitesToProfiles || false;
|
||||||
opts.pollTimeout = opts.pollTimeout || (30 * 1000);
|
opts.pollTimeout = opts.pollTimeout || (30 * 1000);
|
||||||
opts.pendingEventOrdering = opts.pendingEventOrdering || "chronological";
|
opts.pendingEventOrdering = opts.pendingEventOrdering || "chronological";
|
||||||
|
|||||||
Reference in New Issue
Block a user