summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-18 16:37:28 +0000
committerErik Johnston <erik@matrix.org>2016-02-18 16:37:28 +0000
commit42109a62a43ca0b8c1e0d3f797bbc70e0018ca5c (patch)
tree776b7a6c61eb212b9dc6dec27d1420688c3930ba /synapse/storage/events.py
parentWheelTimer: Don't scan list, use index. (diff)
downloadsynapse-42109a62a43ca0b8c1e0d3f797bbc70e0018ca5c.tar.xz
Remove unused param from get_max_token
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 3a5c6ee4b1..1dd3236829 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -131,7 +131,7 @@ class EventsStore(SQLBaseStore):
         except _RollbackButIsFineException:
             pass
 
-        max_persisted_id = yield self._stream_id_gen.get_max_token(self)
+        max_persisted_id = yield self._stream_id_gen.get_max_token()
         defer.returnValue((stream_ordering, max_persisted_id))
 
     @defer.inlineCallbacks