From af38021d282641d0ec0cb7e6d294f404f554bed9 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Mon, 15 May 2023 11:37:35 +0100 Subject: [PATCH] Deprecate device methods in MatrixClient (#3357) --- src/client.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client.ts b/src/client.ts index a037a5e4f..41bd2fa5d 100644 --- a/src/client.ts +++ b/src/client.ts @@ -2294,6 +2294,8 @@ export class MatrixClient extends TypedEventEmitterdeviceId-\>`DeviceInfo` + * + * @deprecated Prefer {@link CryptoApi.getUserDeviceInfo} */ public downloadKeys(userIds: string[], forceDownload?: boolean): Promise { if (!this.crypto) { @@ -2308,6 +2310,7 @@ export class MatrixClient extends TypedEventEmitter