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

Add start wrapper in MatrixClientPeg

to handle the opts dictionary
This commit is contained in:
David Baker
2016-08-03 16:39:47 +01:00
parent b95a1c4a4b
commit 9bf45fb556
2 changed files with 7 additions and 3 deletions

View File

@@ -77,9 +77,7 @@ function startMatrixClient() {
UserActivity.start();
Presence.start();
let opts = utils.deepCopy(MatrixClientPeg.opts);
opts.pendingEventOrdering = "detached";
MatrixClientPeg.get().startClient(opts);
MatrixClientPeg.start();
}
function _onLoggedOut() {