summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-15 11:15:10 +0100
committerErik Johnston <erik@matrix.org>2015-05-15 11:15:10 +0100
commit575ec91d82e6b283bd21471c5a874de968c97bff (patch)
treeac436444f0d6052135e7538f8a4ef412f2560f52 /synapse/storage/events.py
parentSort out error handling (diff)
downloadsynapse-575ec91d82e6b283bd21471c5a874de968c97bff.tar.xz
Correctly pass through params
Diffstat (limited to '')
-rw-r--r--synapse/storage/events.py6
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: