Adapt for js-sdk MatrixClient conversion to TS

For https://github.com/matrix-org/matrix-js-sdk/pull/1718
This commit is contained in:
Travis Ralston 2021-06-01 21:36:28 -06:00
parent 50994735d9
commit 5b2dacd99e
10 changed files with 18 additions and 18 deletions

View file

@ -196,7 +196,7 @@ export class SetupEncryptionStore extends EventEmitter {
this.phase = PHASE_FINISHED;
this.emit("update");
// async - ask other clients for keys, if necessary
MatrixClientPeg.get()._crypto.cancelAndResendAllOutgoingKeyRequests();
MatrixClientPeg.get().crypto.cancelAndResendAllOutgoingKeyRequests();
}
async _setActiveVerificationRequest(request) {