1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-20 22:21:59 +03:00
This commit is contained in:
David Baker
2016-11-16 16:33:08 +00:00
parent 2c31b72c52
commit fc958a3922

View File

@@ -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";