summary refs log tree commit diff
path: root/synapse/storage/state.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-04-01 13:29:05 +0100
committerMark Haines <mark.haines@matrix.org>2016-04-01 13:29:05 +0100
commite36bfbab38def70e0fcc1bafcecb6e666dbbc1ad (patch)
tree6877f36d3097d5199a0dcd2eb32a7c48c0a5256c /synapse/storage/state.py
parentMerge pull request #680 from matrix-org/markjh/remove_is_new_state (diff)
downloadsynapse-e36bfbab38def70e0fcc1bafcecb6e666dbbc1ad.tar.xz
Use a stream id generator for backfilled ids
Diffstat (limited to 'synapse/storage/state.py')
-rw-r--r--synapse/storage/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index 7fc9a4f264..8644830657 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -458,4 +458,4 @@ class StateStore(SQLBaseStore):
         )
 
     def get_state_stream_token(self):
-        return self._state_groups_id_gen.get_max_token()
+        return self._state_groups_id_gen.get_current_token()