summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-29 21:45:28 +0000
committerErik Johnston <erik@matrix.org>2019-01-29 21:45:28 +0000
commitb5d510ad64ad3ed4e40a61c389af875058a73258 (patch)
tree7db2876d91db5bae57eae94b059481a470ea2c4a /synapse
parentDrop vdh support (diff)
downloadsynapse-b5d510ad64ad3ed4e40a61c389af875058a73258.tar.xz
Remove unused arg
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/events_worker.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/storage/events_worker.py b/synapse/storage/events_worker.py
index 9dcb27b65d..df8169b91e 100644
--- a/synapse/storage/events_worker.py
+++ b/synapse/storage/events_worker.py
@@ -163,7 +163,6 @@ class EventsWorkerStore(SQLBaseStore):
 
             missing_events = yield self._enqueue_events(
                 missing_events_ids,
-                check_redacted=check_redacted,
                 allow_rejected=allow_rejected,
             )
 
@@ -334,7 +333,7 @@ class EventsWorkerStore(SQLBaseStore):
                     self.hs.get_reactor().callFromThread(fire, event_list, e)
 
     @defer.inlineCallbacks
-    def _enqueue_events(self, events, check_redacted=True, allow_rejected=False):
+    def _enqueue_events(self, events, allow_rejected=False):
         """Fetches events from the database using the _event_fetch_list. This
         allows batch and bulk fetching of events - it allows us to fetch events
         without having to create a new transaction for each request for events.