1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Don't let pendingEventOrdering be changed

This commit is contained in:
David Baker
2016-08-02 18:58:18 +01:00
parent 77a5384bf8
commit 40834d188e
2 changed files with 5 additions and 1 deletions

View File

@@ -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);
}