mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
can't rename named params like this
This commit is contained in:
parent
5660e0f4f0
commit
85b451ffa1
@ -42,10 +42,10 @@ const PICKLE_KEY = "DEFAULT_KEY";
|
||||
|
||||
export class Session {
|
||||
// sessionInfo contains deviceId, userId and homeServer
|
||||
constructor({clock, storage, unwrappedHsApi, sessionInfo, olm, olmWorker, cryptoDriver, mediaRepository}) {
|
||||
constructor({clock, storage, hsApi, sessionInfo, olm, olmWorker, cryptoDriver, mediaRepository}) {
|
||||
this._clock = clock;
|
||||
this._storage = storage;
|
||||
this._requestScheduler = new RequestScheduler({hsApi: unwrappedHsApi, clock});
|
||||
this._requestScheduler = new RequestScheduler({hsApi, clock});
|
||||
this._hsApi = this._requestScheduler.createHomeServerApiWrapper();
|
||||
this._mediaRepository = mediaRepository;
|
||||
this._syncInfo = null;
|
||||
|
Loading…
Reference in New Issue
Block a user