summary refs log tree commit diff
path: root/synapse/storage/events_worker.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-07-26 12:39:33 +0100
committerRichard van der Hoff <richard@matrix.org>2019-07-26 12:39:33 +0100
commitd74595e2ca2fcf23c04d28e11d4fe1de74ed4f4a (patch)
treea00671f417602e46b5e6d9c31bcd2f92b4095673 /synapse/storage/events_worker.py
parentMerge pull request #5744 from matrix-org/erikj/log_leave_origin_mismatch (diff)
parentyet more changelog attribution fixes (diff)
downloadsynapse-d74595e2ca2fcf23c04d28e11d4fe1de74ed4f4a.tar.xz
Merge branch 'master' into develop
Diffstat (limited to 'synapse/storage/events_worker.py')
-rw-r--r--synapse/storage/events_worker.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/storage/events_worker.py b/synapse/storage/events_worker.py
index f63810a8c7..79680ee856 100644
--- a/synapse/storage/events_worker.py
+++ b/synapse/storage/events_worker.py
@@ -640,6 +640,10 @@ class EventsWorkerStore(SQLBaseStore):
             # we choose to ignore redactions of m.room.create events.
             return None
 
+        if original_ev.type == "m.room.redaction":
+            # ... and redaction events
+            return None
+
         redaction_map = yield self._get_events_from_cache_or_db(redactions)
 
         for redaction_id in redactions: