Artifact Content
Not logged in

Artifact b3d70195f1db4db67de29671e9d46875543deabd:


"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const matrix_js_sdk_1 = require("matrix-js-sdk");
matrix_js_sdk_1.MatrixEvent.prototype.getClearEvent = function () {
    if (!this.isEncrypted())
        return this.event;
    return Object.assign({}, this.event, this._clearEvent);
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWF0cml4X2NsaWVudF9leHQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJtYXRyaXhfY2xpZW50X2V4dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGlEQUEwQztBQUUxQywyQkFBVyxDQUFDLFNBQVMsQ0FBQyxhQUFhLEdBQUc7SUFDbEMsSUFBSSxDQUFDLElBQUksQ0FBQyxXQUFXLEVBQUU7UUFBRSxPQUFPLElBQUksQ0FBQyxLQUFLLENBQUM7SUFDM0MsT0FBTyxNQUFNLENBQUMsTUFBTSxDQUFDLEVBQUUsRUFBRSxJQUFJLENBQUMsS0FBSyxFQUFFLElBQUksQ0FBQyxXQUFXLENBQUMsQ0FBQztBQUMzRCxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge01hdHJpeEV2ZW50fSBmcm9tICdtYXRyaXgtanMtc2RrJztcblxuTWF0cml4RXZlbnQucHJvdG90eXBlLmdldENsZWFyRXZlbnQgPSBmdW5jdGlvbigpIHtcbiAgICBpZiAoIXRoaXMuaXNFbmNyeXB0ZWQoKSkgcmV0dXJuIHRoaXMuZXZlbnQ7XG4gICAgcmV0dXJuIE9iamVjdC5hc3NpZ24oe30sIHRoaXMuZXZlbnQsIHRoaXMuX2NsZWFyRXZlbnQpO1xufTsiXX0=