synapse/changelog.d/6771.bugfix
Erik Johnston fa4d609e20
Make 'event.redacts' never raise. (#6771)
There are quite a few places that we assume that a redaction event has a
corresponding `redacts` key, which is not always the case. So lets
cheekily make it so that event.redacts just returns None instead.
2020-01-23 15:19:03 +00:00

1 line
97 B
Text

Fix persisting redaction events that have been redacted (or otherwise don't have a redacts key).