matrix-js-sdk
e25112ad - Fix exceptions when dealing with redactions

Comment changes are shownComment changes are hidden
Commit
8 years ago
Fix exceptions when dealing with redactions When we got a redaction event, we were adding the entire (circular) MatrixEvent object for the redaction to the redacted event, which would then cause exceptions down the line (particularly when dealing with gappy timelines). We should only be adding the raw event. Fixes (hopefully) https://github.com/vector-im/vector-web/issues/1389.
Author
Parents
  • lib/models
    • File
      event.js
  • spec
    • integ
      • File
        matrix-client-event-timeline.spec.js
    • File
      test-utils.js