diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-04-01 15:13:14 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-04-01 15:13:14 +0100 |
commit | f2b916534bdbb5d126311a3fbe653fa9d1e4dcf0 (patch) | |
tree | 0c0edfab04b20cde74447189dd0917b454b2b030 /synapse/storage/stream.py | |
parent | Merge pull request #685 from matrix-org/erikj/sync_leave (diff) | |
parent | Assert that the step != 0 (diff) | |
download | synapse-f2b916534bdbb5d126311a3fbe653fa9d1e4dcf0.tar.xz |
Merge pull request #684 from matrix-org/markjh/backfill_id_gen
Use a stream id generator for backfilled ids
Diffstat (limited to 'synapse/storage/stream.py')
-rw-r--r-- | synapse/storage/stream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py index cf84938be5..76bcd9cd00 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py @@ -539,7 +539,7 @@ class StreamStore(SQLBaseStore): @defer.inlineCallbacks def get_room_events_max_id(self, direction='f'): - token = yield self._stream_id_gen.get_max_token() + token = yield self._stream_id_gen.get_current_token() if direction != 'b': defer.returnValue("s%d" % (token,)) else: |