diff --git a/src/common-crypto/CryptoBackend.ts b/src/common-crypto/CryptoBackend.ts index f13777fb9..5758858ad 100644 --- a/src/common-crypto/CryptoBackend.ts +++ b/src/common-crypto/CryptoBackend.ts @@ -213,11 +213,6 @@ export interface EventDecryptionResult { * ed25519 key claimed by the sender of this event. See {@link MatrixEvent#getClaimedEd25519Key}. */ claimedEd25519Key?: string; - /** - * Whether the keys for this event have been received via an unauthenticated source (eg via key forwards, or - * restored from backup) - */ - untrusted?: boolean; } /** diff --git a/src/models/event.ts b/src/models/event.ts index ec6672c6f..abdda8412 100644 --- a/src/models/event.ts +++ b/src/models/event.ts @@ -185,8 +185,7 @@ export interface IDecryptOptions { isRetry?: boolean; /** - * Whether the message should be re-decrypted if it was previously successfully decrypted with an untrusted key. - * Defaults to `false`. + * @deprecated does nothing */ forceRedecryptIfUntrusted?: boolean; } @@ -284,10 +283,6 @@ export class MatrixEvent extends TypedEventEmitter