mirror of https://github.com/vector-im/riot-web
Don't let pendingEventOrdering be changed
parent
77a5384bf8
commit
40834d188e
|
@ -79,6 +79,11 @@ function startMatrixClient() {
|
|||
Notifier.start();
|
||||
UserActivity.start();
|
||||
Presence.start();
|
||||
|
||||
// the react sdk doesn't work without this, so don't allow
|
||||
// it to be overridden (and modify the global object so at
|
||||
// at least the app can see we've changed it)
|
||||
MatrixClientPeg.opts.pendingEventOrdering = "detached";
|
||||
MatrixClientPeg.get().startClient(MatrixClientPeg.opts);
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,6 @@ class MatrixClientPeg {
|
|||
// starts the client. These can be altered when the
|
||||
// 'will_start_client' event is dispatched.
|
||||
this.opts = {
|
||||
pendingEventOrdering: "detached",
|
||||
initialSyncLimit: 20,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue