parent
b95a1c4a4b
commit
9bf45fb556
|
@ -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() {
|
||||
|
|
|
@ -88,6 +88,12 @@ class MatrixClientPeg {
|
|||
);
|
||||
}
|
||||
|
||||
start() {
|
||||
const opts = utils.deepCopy(MatrixClientPeg.opts);
|
||||
opts.pendingEventOrdering = "detached";
|
||||
this.get().startClient(opts);
|
||||
},
|
||||
|
||||
_replaceClient(hs_url, is_url, user_id, access_token, isGuest) {
|
||||
if (localStorage) {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue