From decb5698b3dabd0c42ec4ce085bb4bb580de8f3a Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 31 Jan 2019 00:23:58 +0000 Subject: Break infinite loop on redaction in v3 rooms --- synapse/storage/events_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/storage/events_worker.py') diff --git a/synapse/storage/events_worker.py b/synapse/storage/events_worker.py index 57dae324c7..dc09a85087 100644 --- a/synapse/storage/events_worker.py +++ b/synapse/storage/events_worker.py @@ -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: + if not allow_rejected and entry.event.type == EventTypes.Redaction and False: if entry.event.internal_metadata.need_to_check_redaction(): orig = yield self.get_event( entry.event.redacts, -- cgit 1.5.1