Skip to content

Commit

Permalink
Deprecate MatrixClient.getDehydratedDevice
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Oct 21, 2024
1 parent 88cf5eb commit 43a17f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 43a17f4

Please sign in to comment.