Fix MatrixClientPeg.start()
Move import & use `this`
This commit is contained in:
parent
009c768b72
commit
0919e41469
2 changed files with 2 additions and 2 deletions
|
@ -17,6 +17,7 @@ limitations under the License.
|
|||
'use strict';
|
||||
|
||||
import Matrix from 'matrix-js-sdk';
|
||||
import utils from 'matrix-js-sdk/lib/utils';
|
||||
|
||||
const localStorage = window.localStorage;
|
||||
|
||||
|
@ -89,7 +90,7 @@ class MatrixClientPeg {
|
|||
}
|
||||
|
||||
start() {
|
||||
const opts = utils.deepCopy(MatrixClientPeg.opts);
|
||||
const opts = utils.deepCopy(this.opts);
|
||||
opts.pendingEventOrdering = "detached";
|
||||
this.get().startClient(opts);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue