summary refs log tree commit diff
path: root/synapse/storage/stream.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/stream.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/stream.py')
-rw-r--r--synapse/storage/stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py
index c236dafafb..8908d5b5da 100644
--- a/synapse/storage/stream.py
+++ b/synapse/storage/stream.py
@@ -531,7 +531,7 @@ class StreamStore(SQLBaseStore):
 
     @defer.inlineCallbacks
     def get_room_events_max_id(self, direction='f'):
-        token = yield self._stream_id_gen.get_max_token(self)
+        token = yield self._stream_id_gen.get_max_token()
         if direction != 'b':
             defer.returnValue("s%d" % (token,))
         else: