1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00

Deprecate MatrixClient.getDehydratedDevice (#4467)

This commit is contained in:
Florian Duros
2024-10-21 15:21:05 +02:00
committed by GitHub
parent 91f6f0f9c5
commit b5c3f15a67

View File

@@ -1677,6 +1677,8 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
/**
* Get the current dehydrated device, if any
* @returns A promise of an object containing the dehydrated device
*
* @deprecated MSC2697 device dehydration is not supported for rust cryptography.
*/
public async getDehydratedDevice(): Promise<IDehydratedDevice | undefined> {
try {