Update synapse/storage/events_worker.py
Co-Authored-By: erikjohnston <erikj@jki.re>
This commit is contained in:
parent
b82a76c384
commit
82165eeb05
|
@ -175,7 +175,7 @@ class EventsWorkerStore(SQLBaseStore):
|
||||||
if not entry:
|
if not entry:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Some redactions in room version v3 need to be rechecked if we
|
# 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
|
# didn't have the redacted event at the time, so we recheck on read
|
||||||
# instead.
|
# instead.
|
||||||
if not allow_rejected and entry.event.type == EventTypes.Redaction:
|
if not allow_rejected and entry.event.type == EventTypes.Redaction:
|
||||||
|
|
Loading…
Reference in New Issue