You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Refactor crypto initialsync handling
Pass a store into the Crypto object so that it doesn't need to make assumptions about the EventEmitter, and use the new metadata on sync events to distinguish between initialsyncs and normal syncs
This commit is contained in:
@@ -158,6 +158,7 @@ function MatrixClient(opts) {
|
||||
this, this,
|
||||
opts.sessionStore,
|
||||
userId, this.deviceId,
|
||||
this.store,
|
||||
);
|
||||
|
||||
this.olmVersion = Crypto.getOlmVersion();
|
||||
|
||||
Reference in New Issue
Block a user