Interface IDecryptOptions

interface IDecryptOptions {
    emit?: boolean;
    forceRedecryptIfUntrusted?: boolean;
    isRetry?: boolean;
}

Properties

emit?: boolean

Whether to emit MatrixEventEvent.Decrypted events on successful decryption. Defaults to true.

forceRedecryptIfUntrusted?: boolean

Whether the message should be re-decrypted if it was previously successfully decrypted with an untrusted key. Defaults to false.

isRetry?: boolean

True if this is a retry, after receiving an update to the session key. (Enables more logging.)

This is only intended for use within the js-sdk.