From 35ec13baab12c1800d8e6d5503643bdc76ef165f Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Wed, 31 Jul 2019 15:48:57 +0200 Subject: Ignore redactions of redactions in get_events_as_list --- synapse/storage/events_worker.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'synapse/storage/events_worker.py') diff --git a/synapse/storage/events_worker.py b/synapse/storage/events_worker.py index b771cf98ce..5dc49822b5 100644 --- a/synapse/storage/events_worker.py +++ b/synapse/storage/events_worker.py @@ -272,10 +272,7 @@ class EventsWorkerStore(SQLBaseStore): if orig_event_info["room_id"] != entry.event.room_id: # Don't process redactions if the redacted event doesn't belong to the # redaction's room. - continue - - if orig_event_info["type"] == EventTypes.Redaction: - # Don't process redactions of redactions. + logger.info("Ignoring redation in another room.") continue if entry.event.internal_metadata.need_to_check_redaction(): -- cgit 1.5.1