0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 14:33:50 +01:00

Fix token to correct format

This commit is contained in:
Erik Johnston 2014-08-19 16:45:55 +01:00
parent e2b861cc67
commit ae493c9418

View file

@ -265,7 +265,7 @@ class StreamStore(SQLBaseStore):
if rows: if rows:
topo = rows[0]["topological_ordering"] topo = rows[0]["topological_ordering"]
toke = rows[0]["stream_ordering"] toke = rows[0]["stream_ordering"]
start_token = "p%s-%s" % (topo, toke) start_token = "t%s-%s" % (topo, toke)
token = (start_token, end_token) token = (start_token, end_token)
else: else: