From b360fc8308ea6bb4cb3cbbbfbd4f324a1cd207ad Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 2 Jun 2021 18:42:52 -0600 Subject: [PATCH] Fix test failure --- src/client.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client.ts b/src/client.ts index d8a5ed465..fe6c7b3a5 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1570,12 +1570,13 @@ export class MatrixClient extends EventEmitter { /** * Check the copy of our cross-signing key that we have in the device list and * see if we can get the private key. If so, mark it as trusted. + * @param {Object} opts TODO */ - public checkOwnCrossSigningTrust() { + public checkOwnCrossSigningTrust(opts: any): Promise { // TODO: Types if (!this.crypto) { throw new Error("End-to-end encryption disabled"); } - return this.crypto.checkOwnCrossSigningTrust(); + return this.crypto.checkOwnCrossSigningTrust(opts); } /**