Skip to content

Commit 0df8e81

Browse files
authored
Deprecate MatrixClient.getKeyBackupVersion (#4505)
1 parent 30b1894 commit 0df8e81

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/client.ts

+2
Original file line numberDiff line numberDiff line change
@@ -3351,6 +3351,8 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
33513351
* uploaded a key backup version using an algorithm I don't understand.
33523352
*
33533353
* @returns Information object from API, or null if no backup is present on the server.
3354+
*
3355+
* @deprecated Prefer {@link CryptoApi.getActiveSessionBackupVersion}.
33543356
*/
33553357
public async getKeyBackupVersion(): Promise<IKeyBackupInfo | null> {
33563358
let res: IKeyBackupInfo;

0 commit comments

Comments
 (0)