summary refs log tree commit diff
diff options
context:
space:
mode:
-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: