diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-04-01 13:29:05 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-04-01 13:29:05 +0100 |
commit | e36bfbab38def70e0fcc1bafcecb6e666dbbc1ad (patch) | |
tree | 6877f36d3097d5199a0dcd2eb32a7c48c0a5256c /synapse/storage/stream.py | |
parent | Merge pull request #680 from matrix-org/markjh/remove_is_new_state (diff) | |
download | synapse-e36bfbab38def70e0fcc1bafcecb6e666dbbc1ad.tar.xz |
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: |