You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-07 23:02:56 +03:00
Deprecate the crypto events which are not used by the rust-crypto (#4442)
* Deprecate crypto event not used by the rust-crypto * Deprecate `Crypto.WillUpdateDevices` for `Crypto.DevicesUpdated`
This commit is contained in:
@@ -230,10 +230,14 @@ export interface IMegolmEncryptedContent {
|
|||||||
export type IEncryptedContent = IOlmEncryptedContent | IMegolmEncryptedContent;
|
export type IEncryptedContent = IOlmEncryptedContent | IMegolmEncryptedContent;
|
||||||
|
|
||||||
export enum CryptoEvent {
|
export enum CryptoEvent {
|
||||||
|
/** @deprecated Event not fired by the rust crypto */
|
||||||
DeviceVerificationChanged = "deviceVerificationChanged",
|
DeviceVerificationChanged = "deviceVerificationChanged",
|
||||||
UserTrustStatusChanged = "userTrustStatusChanged",
|
UserTrustStatusChanged = "userTrustStatusChanged",
|
||||||
|
/** @deprecated Event not fired by the rust crypto */
|
||||||
UserCrossSigningUpdated = "userCrossSigningUpdated",
|
UserCrossSigningUpdated = "userCrossSigningUpdated",
|
||||||
|
/** @deprecated Event not fired by the rust crypto */
|
||||||
RoomKeyRequest = "crypto.roomKeyRequest",
|
RoomKeyRequest = "crypto.roomKeyRequest",
|
||||||
|
/** @deprecated Event not fired by the rust crypto */
|
||||||
RoomKeyRequestCancellation = "crypto.roomKeyRequestCancellation",
|
RoomKeyRequestCancellation = "crypto.roomKeyRequestCancellation",
|
||||||
KeyBackupStatus = "crypto.keyBackupStatus",
|
KeyBackupStatus = "crypto.keyBackupStatus",
|
||||||
KeyBackupFailed = "crypto.keyBackupFailed",
|
KeyBackupFailed = "crypto.keyBackupFailed",
|
||||||
@@ -250,6 +254,7 @@ export enum CryptoEvent {
|
|||||||
*/
|
*/
|
||||||
KeyBackupDecryptionKeyCached = "crypto.keyBackupDecryptionKeyCached",
|
KeyBackupDecryptionKeyCached = "crypto.keyBackupDecryptionKeyCached",
|
||||||
|
|
||||||
|
/** @deprecated Event not fired by the rust crypto */
|
||||||
KeySignatureUploadFailure = "crypto.keySignatureUploadFailure",
|
KeySignatureUploadFailure = "crypto.keySignatureUploadFailure",
|
||||||
/** @deprecated Use `VerificationRequestReceived`. */
|
/** @deprecated Use `VerificationRequestReceived`. */
|
||||||
VerificationRequest = "crypto.verification.request",
|
VerificationRequest = "crypto.verification.request",
|
||||||
@@ -261,7 +266,9 @@ export enum CryptoEvent {
|
|||||||
*/
|
*/
|
||||||
VerificationRequestReceived = "crypto.verificationRequestReceived",
|
VerificationRequestReceived = "crypto.verificationRequestReceived",
|
||||||
|
|
||||||
|
/** @deprecated Event not fired by the rust crypto */
|
||||||
Warning = "crypto.warning",
|
Warning = "crypto.warning",
|
||||||
|
/** @deprecated Use {@link DevicesUpdated} instead when using rust crypto */
|
||||||
WillUpdateDevices = "crypto.willUpdateDevices",
|
WillUpdateDevices = "crypto.willUpdateDevices",
|
||||||
DevicesUpdated = "crypto.devicesUpdated",
|
DevicesUpdated = "crypto.devicesUpdated",
|
||||||
KeysChanged = "crossSigning.keysChanged",
|
KeysChanged = "crossSigning.keysChanged",
|
||||||
|
Reference in New Issue
Block a user