1
0

Revert "Break infinite loop on redaction in v3 rooms"

We've got a better fix of this now.

This reverts commit decb5698b3.
This commit is contained in:
Richard van der Hoff
2019-01-31 18:43:49 +00:00
parent e97c1df30c
commit 6c232a69df

View File

@@ -177,7 +177,7 @@ class EventsWorkerStore(SQLBaseStore):
# Starting in room version v3, some redactions need to be rechecked if we
# didn't have the redacted event at the time, so we recheck on read
# instead.
if not allow_rejected and entry.event.type == EventTypes.Redaction and False:
if not allow_rejected and entry.event.type == EventTypes.Redaction:
if entry.event.internal_metadata.need_to_check_redaction():
orig = yield self.get_event(
entry.event.redacts,