summary refs log tree commit diff
path: root/synapse/storage/stream.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-19 16:45:55 +0100
committerErik Johnston <erik@matrix.org>2014-08-19 16:45:55 +0100
commitae493c9418b9fa2ad2e9686ff29117ae271e8cfd (patch)
tree784f1cc3f62a5e3fee99c1ee129bfe21d105eb84 /synapse/storage/stream.py
parentMerge branch 'master' of github.com:matrix-org/synapse into sql_refactor (diff)
downloadsynapse-ae493c9418b9fa2ad2e9686ff29117ae271e8cfd.tar.xz
Fix token to correct format
Diffstat (limited to '')
-rw-r--r--synapse/storage/stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py
index 3a67baa261..895a61fbc1 100644
--- a/synapse/storage/stream.py
+++ b/synapse/storage/stream.py
@@ -265,7 +265,7 @@ class StreamStore(SQLBaseStore):
         if rows:
             topo = rows[0]["topological_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)
         else: