src/models/event.js
function(decryptionResult) {
        this._clearEvent = decryptionResult.clearEvent;
        this._senderCurve25519Key =
            decryptionResult.senderCurve25519Key || null;
        this._claimedEd25519Key =
            decryptionResult.claimedEd25519Key || null;
        this._forwardingCurve25519KeyChain =
            decryptionResult.forwardingCurve25519KeyChain || [];
    }
function(decryptionResult) {
        this._clearEvent = decryptionResult.clearEvent;
        this._senderCurve25519Key =
            decryptionResult.senderCurve25519Key || null;
        this._claimedEd25519Key =
            decryptionResult.claimedEd25519Key || null;
        this._forwardingCurve25519KeyChain =
            decryptionResult.forwardingCurve25519KeyChain || [];
    }
function ( decryptionResult ) { this . _clearEvent = decryptionResult . clearEvent ; this . _senderCurve25519Key = decryptionResult . senderCurve25519Key || null ; this . _claimedEd25519Key = decryptionResult . claimedEd25519Key || null ; this . _forwardingCurve25519KeyChain = decryptionResult . forwardingCurve25519KeyChain || [ ] ; }
Update the cleartext data on this event.

(This is used after decrypting an event; it should not be used by applications).

@internal

@fires module:models/event.MatrixEvent#"Event.decrypted"

@param {module:crypto~EventDecryptionResult} decryptionResult
the decryption result, including the plaintext and some key info
Update the cleartext data on this event .