1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

Actually working migration

This commit is contained in:
David Baker
2018-01-22 17:46:13 +01:00
parent 88a082a533
commit e72096328a
3 changed files with 5 additions and 6 deletions

View File

@@ -186,7 +186,7 @@ function MatrixClient(opts) {
// List of what rooms have encryption enabled: separate from crypto because
// we still want to know what rooms are encrypted even if crypto is disabled:
// we don't want to start sening unencrypted events to them.
this._roomList = new RoomList(this._cryptoStore);
this._roomList = new RoomList(this._cryptoStore, this._sessionStore);
}
utils.inherits(MatrixClient, EventEmitter);
utils.extend(MatrixClient.prototype, MatrixBaseApis.prototype);