Comments
This commit is contained in:
parent
0919e41469
commit
b32a19a0f1
1 changed files with 5 additions and 4 deletions
|
@ -50,10 +50,10 @@ class MatrixClientPeg {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.matrixClient = null;
|
this.matrixClient = null;
|
||||||
|
|
||||||
// These are the default options used when Lifecycle.js
|
// These are the default options used when when the
|
||||||
// starts the client. These can be altered at any
|
// client is started in 'start'. These can be altered
|
||||||
// time up to after the 'will_start_client' event is
|
// at any time up to after the 'will_start_client'
|
||||||
// finished processing.
|
// event is finished processing.
|
||||||
this.opts = {
|
this.opts = {
|
||||||
initialSyncLimit: 20,
|
initialSyncLimit: 20,
|
||||||
};
|
};
|
||||||
|
@ -91,6 +91,7 @@ class MatrixClientPeg {
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
const opts = utils.deepCopy(this.opts);
|
const opts = utils.deepCopy(this.opts);
|
||||||
|
// the react sdk doesn't work without this, so don't allow
|
||||||
opts.pendingEventOrdering = "detached";
|
opts.pendingEventOrdering = "detached";
|
||||||
this.get().startClient(opts);
|
this.get().startClient(opts);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue