Remove unused param from get_max_token

This commit is contained in:
Erik Johnston 2016-02-18 16:37:28 +00:00
parent b8cdec92c7
commit 42109a62a4
6 changed files with 11 additions and 13 deletions

View file

@ -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: