Skip to content

Commit

Permalink
Deprecate crypto event not used by the rust-crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Oct 4, 2024
1 parent da04482 commit 379ca14
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/crypto/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,14 @@ export interface IMegolmEncryptedContent {
export type IEncryptedContent = IOlmEncryptedContent | IMegolmEncryptedContent;

export enum CryptoEvent {
/** @deprecated Event not fired by the rust crypto */
DeviceVerificationChanged = "deviceVerificationChanged",
UserTrustStatusChanged = "userTrustStatusChanged",
/** @deprecated Event not fired by the rust crypto */
UserCrossSigningUpdated = "userCrossSigningUpdated",
/** @deprecated Event not fired by the rust crypto */
RoomKeyRequest = "crypto.roomKeyRequest",
/** @deprecated Event not fired by the rust crypto */
RoomKeyRequestCancellation = "crypto.roomKeyRequestCancellation",
KeyBackupStatus = "crypto.keyBackupStatus",
KeyBackupFailed = "crypto.keyBackupFailed",
Expand All @@ -250,6 +254,7 @@ export enum CryptoEvent {
*/
KeyBackupDecryptionKeyCached = "crypto.keyBackupDecryptionKeyCached",

/** @deprecated Event not fired by the rust crypto */
KeySignatureUploadFailure = "crypto.keySignatureUploadFailure",
/** @deprecated Use `VerificationRequestReceived`. */
VerificationRequest = "crypto.verification.request",
Expand All @@ -261,6 +266,7 @@ export enum CryptoEvent {
*/
VerificationRequestReceived = "crypto.verificationRequestReceived",

/** @deprecated Event not fired by the rust crypto */
Warning = "crypto.warning",
WillUpdateDevices = "crypto.willUpdateDevices",
DevicesUpdated = "crypto.devicesUpdated",
Expand Down

0 comments on commit 379ca14

Please sign in to comment.