Revert "Break infinite loop on redaction in v3 rooms"
We've got a better fix of this now.
This reverts commit decb5698b3
.
pull/4654/head
parent
e97c1df30c
commit
6c232a69df
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue