Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix exceptions when dealing with redactions #184

Merged
merged 1 commit into from Aug 30, 2016
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Aug 30, 2016

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) element-hq/element-web#1389.

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) element-hq/element-web#1389.
@kegsay
Copy link
Member

kegsay commented Aug 30, 2016

LGTM

@richvdh richvdh merged commit 9768fb0 into develop Aug 30, 2016
@richvdh richvdh deleted the rav/fix_redactions branch August 31, 2016 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants