Skip to content

Commit

Permalink
Deprecate MatrixClient.getDehydratedDevice (#4467)
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros authored Oct 21, 2024
1 parent 91f6f0f commit b5c3f15
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 b5c3f15

Please sign in to comment.