diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-15 11:15:10 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-15 11:15:10 +0100 |
commit | 575ec91d82e6b283bd21471c5a874de968c97bff (patch) | |
tree | ac436444f0d6052135e7538f8a4ef412f2560f52 /synapse/storage/events.py | |
parent | Sort out error handling (diff) | |
download | synapse-575ec91d82e6b283bd21471c5a874de968c97bff.tar.xz |
Correctly pass through params
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/events.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index f2c181dde7..143c24b10d 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -91,9 +91,9 @@ class EventsStore(SQLBaseStore): """ events = yield self._get_events( [event_id], - check_redacted=True, - get_prev_content=False, - allow_rejected=False, + check_redacted=check_redacted, + get_prev_content=get_prev_content, + allow_rejected=allow_rejected, ) if not events and not allow_none: |