You've already forked matrix-js-sdk
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:
@@ -1677,6 +1677,8 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
|
|||||||
/**
|
/**
|
||||||
* Get the current dehydrated device, if any
|
* Get the current dehydrated device, if any
|
||||||
* @returns A promise of an object containing the dehydrated device
|
* @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> {
|
public async getDehydratedDevice(): Promise<IDehydratedDevice | undefined> {
|
||||||
try {
|
try {
|
||||||
|
Reference in New Issue
Block a user