Update synapse/storage/events_worker.py

Co-Authored-By: erikjohnston <erikj@jki.re>
This commit is contained in:
Richard van der Hoff 2019-01-29 21:14:39 +00:00 committed by GitHub
parent b82a76c384
commit 82165eeb05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: