Deprecate MatrixClient.getKeyBackupVersion (#4505)

This commit is contained in:
Florian Duros
2024-11-08 10:06:09 +01:00
committed by GitHub
parent 30b1894f37
commit 0df8e81da4
+2
View File
@@ -3351,6 +3351,8 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
* uploaded a key backup version using an algorithm I don't understand.
*
* @returns Information object from API, or null if no backup is present on the server.
*
* @deprecated Prefer {@link CryptoApi.getActiveSessionBackupVersion}.
*/
public async getKeyBackupVersion(): Promise<IKeyBackupInfo | null> {
let res: IKeyBackupInfo;